summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-base/kbattleship/ChangeLog7
-rw-r--r--kde-base/kbattleship/kbattleship-4.3.0.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/kde-base/kbattleship/ChangeLog b/kde-base/kbattleship/ChangeLog
index 8ac5feb45b1f..e2f82749c2af 100644
--- a/kde-base/kbattleship/ChangeLog
+++ b/kde-base/kbattleship/ChangeLog
@@ -1,6 +1,11 @@
# 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.121 2009/07/12 11:42:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/ChangeLog,v 1.122 2009/08/03 23:56:03 wired Exp $
+
+*kbattleship-4.3.0 (03 Aug 2009)
+
+ 03 Aug 2009; Alex Alexander <wired@gentoo.org> +kbattleship-4.3.0.ebuild:
+ Version bump
12 Jul 2009; Raúl Porcel <armin76@gentoo.org> kbattleship-3.5.10.ebuild:
alpha/ia64/sparc stable wrt #271889
diff --git a/kde-base/kbattleship/kbattleship-4.3.0.ebuild b/kde-base/kbattleship/kbattleship-4.3.0.ebuild
new file mode 100644
index 000000000000..145a7e33b4a8
--- /dev/null
+++ b/kde-base/kbattleship/kbattleship-4.3.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.3.0.ebuild,v 1.1 2009/08/03 23:56:03 wired Exp $
+
+EAPI="2"
+
+KMNAME="kdegames"
+inherit games-ggz kde4-meta
+
+DESCRIPTION="The KDE Battleship clone"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="debug +handbook"
+
+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
+}