Skip to content
Newer
Older
100644 40 lines (31 sloc) 867 Bytes
a3e88ee @danielrobbins glorious funtoo updates
danielrobbins authored
1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
be336b9 @danielrobbins glorious funtoo updates
danielrobbins authored
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/kreversi/kreversi-4.7.4.ebuild,v 1.4 2012/02/18 15:53:19 nixnut Exp $
a3e88ee @danielrobbins glorious funtoo updates
danielrobbins authored
4
5 EAPI=4
6
7 KDE_HANDBOOK="optional"
8 KMNAME="kdegames"
9 inherit games-ggz kde4-meta
10
11 DESCRIPTION="KDE Board Game"
be336b9 @danielrobbins glorious funtoo updates
danielrobbins authored
12 KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
a3e88ee @danielrobbins glorious funtoo updates
danielrobbins authored
13 IUSE="debug"
14
15 src_prepare() {
16 # cmake is doing this really weird
17 sed -i \
18 -e "s:register_ggz_module:#register_ggz_module:g" \
19 ${PN}/CMakeLists.txt || die "ggz removal failed"
20
21 kde4-meta_src_prepare
22 }
23
24 src_install() {
25 kde4-meta_src_install
26 # and also we have to prepare the ggz dir
27 insinto "${GGZ_MODDIR}"
28 newins ${PN}/module.dsc ${P}.dsc
29 }
30
31 pkg_postinst() {
32 kde4-meta_pkg_postinst
33 games-ggz_pkg_postinst
34 }
35
36 pkg_postrm() {
37 kde4-meta_pkg_postrm
38 games-ggz_pkg_postrm
39 }
Something went wrong with that request. Please try again.