summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-01-27 16:37:14 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2009-01-27 16:37:14 +0000
commita947df7d7b55ece8f5b6d8ef8451bffdb346b726 (patch)
treee7d19592fa94a4538cf92667a8506c1a67bea8a2 /kde-base/kbattleship
parentBump shiny new KDE 4.2.0 (diff)
downloadgentoo-2-a947df7d7b55ece8f5b6d8ef8451bffdb346b726.tar.gz
gentoo-2-a947df7d7b55ece8f5b6d8ef8451bffdb346b726.tar.bz2
gentoo-2-a947df7d7b55ece8f5b6d8ef8451bffdb346b726.zip
Bump shiny new KDE 4.2.0
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kbattleship')
-rw-r--r--kde-base/kbattleship/ChangeLog8
-rw-r--r--kde-base/kbattleship/kbattleship-4.2.0.ebuild38
2 files changed, 45 insertions, 1 deletions
diff --git a/kde-base/kbattleship/ChangeLog b/kde-base/kbattleship/ChangeLog
index aa7e5a54d358..e6601bee9ec8 100644
--- a/kde-base/kbattleship/ChangeLog
+++ b/kde-base/kbattleship/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/kbattleship
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/ChangeLog,v 1.101 2009/01/14 14:09:42 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/ChangeLog,v 1.102 2009/01/27 16:37:14 alexxy Exp $
+
+*kbattleship-4.2.0 (27 Jan 2009)
+
+ 27 Jan 2009; Alexey Shvetsov <alexxy@gentoo.org>
+ +kbattleship-4.2.0.ebuild:
+ Bump KDE-4.2.0
14 Jan 2009; Alexey Shvetsov <alexxy@gentoo.org>
-kbattleship-4.1.2.ebuild, -kbattleship-4.1.3.ebuild:
diff --git a/kde-base/kbattleship/kbattleship-4.2.0.ebuild b/kde-base/kbattleship/kbattleship-4.2.0.ebuild
new file mode 100644
index 000000000000..f9c20088e628
--- /dev/null
+++ b/kde-base/kbattleship/kbattleship-4.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/kbattleship-4.2.0.ebuild,v 1.1 2009/01/27 16:37:14 alexxy Exp $
+
+EAPI="2"
+
+KMNAME="kdegames"
+inherit games-ggz kde4-meta
+
+DESCRIPTION="The KDE Battleship clone"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug htmlhandbook"
+
+src_prepare() {
+ # cmake is doing this really weird
+ sed -i \
+ -e "s:register_ggz_module:#register_ggz_module:g" \
+ ${PN}/src/CMakeLists.txt || die "ggz removal failed"
+
+ kde4-meta_src_prepare
+}
+
+src_install() {
+ kde4-meta_src_install
+ # and also we have to prepare the ggz dir
+ mkdir -p "${D}"/usr/share/ggz/modules
+ cp ${PN}/src/module.dsc "${D}"/usr/share/ggz/modules/${P}.dsc
+}
+
+pkg_postinst() {
+ kde4-meta_pkg_postinst
+ games-ggz_pkg_postinst
+}
+
+pkg_postrm() {
+ kde4-meta_pkg_postrm
+ games-ggz_pkg_postrm
+}