1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gfifteen/gfifteen-0.10.2.ebuild,v 1.2 2012/04/07 04:08:27 mr_bones_ Exp $ |
4 |
|
5 |
EAPI=2 |
6 |
inherit eutils games |
7 |
|
8 |
DESCRIPTION="graphical implementation of the sliding puzzle game fifteen" |
9 |
HOMEPAGE="https://frigidcode.com/code/gfifteen/" |
10 |
SRC_URI="https://frigidcode.com/code/gfifteen/${P}.tar.gz" |
11 |
|
12 |
LICENSE="GPL-3" |
13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="" |
16 |
|
17 |
RDEPEND="x11-libs/gtk+:3" |
18 |
DEPEND="${RDEPEND} |
19 |
dev-util/pkgconfig" |
20 |
|
21 |
src_prepare() { |
22 |
sed -i -e "/Encoding/d" gfifteen.desktop || die |
23 |
} |
24 |
|
25 |
src_install() { |
26 |
emake DESTDIR="${D}" install || die |
27 |
dodoc README ChangeLog || die |
28 |
doicon ${PN}.svg |
29 |
domenu gfifteen.desktop |
30 |
prepgamesdirs |
31 |
} |