summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-06-04 11:20:58 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2009-06-04 11:20:58 +0000
commit348c726faa77bea6f42a533fd44c94835568c65c (patch)
treeeb1bd5e736d8e402a5ff34c891d33c145ee32295 /kde-base/kbattleship
parentVersion bump KDE 4.2.4 (diff)
downloadgentoo-2-348c726faa77bea6f42a533fd44c94835568c65c.tar.gz
gentoo-2-348c726faa77bea6f42a533fd44c94835568c65c.tar.bz2
gentoo-2-348c726faa77bea6f42a533fd44c94835568c65c.zip
Version bump KDE 4.2.4
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/kbattleship')
-rw-r--r--kde-base/kbattleship/ChangeLog8
-rw-r--r--kde-base/kbattleship/kbattleship-4.2.4.ebuild38
2 files changed, 45 insertions, 1 deletions
diff --git a/kde-base/kbattleship/ChangeLog b/kde-base/kbattleship/ChangeLog
index 779301776a30..5f514affe465 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.114 2009/06/03 14:53:11 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/ChangeLog,v 1.115 2009/06/04 11:20:58 alexxy Exp $
+
+*kbattleship-4.2.4 (04 Jun 2009)
+
+ 04 Jun 2009; Alexey Shvetsov <alexxy@gentoo.org>
+ +kbattleship-4.2.4.ebuild:
+ Version bump
03 Jun 2009; Alexey Shvetsov <alexxy@gentoo.org>
-kbattleship-4.2.2.ebuild:
diff --git a/kde-base/kbattleship/kbattleship-4.2.4.ebuild b/kde-base/kbattleship/kbattleship-4.2.4.ebuild
new file mode 100644
index 000000000000..77e4353555e2
--- /dev/null
+++ b/kde-base/kbattleship/kbattleship-4.2.4.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.4.ebuild,v 1.1 2009/06/04 11:20:58 alexxy Exp $
+
+EAPI="2"
+
+KMNAME="kdegames"
+inherit games-ggz kde4-meta
+
+DESCRIPTION="The KDE Battleship clone"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+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
+}