/[gentoo-x86]/games-arcade/notpacman/notpacman-1.0.4.ebuild
Gentoo

Contents of /games-arcade/notpacman/notpacman-1.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jul 5 11:04:41 2013 UTC (4 years, 9 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #475722

(Portage version: 2.1.12.11/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/notpacman/notpacman-1.0.4.ebuild,v 1.2 2013/07/05 11:04:00 ago Exp $
4
5 EAPI=5
6
7 inherit eutils gnome2-utils games
8
9 DESCRIPTION="A mashup of \"Not\" and \"Pacman\""
10 HOMEPAGE="http://stabyourself.net/notpacman/"
11 SRC_URI="http://stabyourself.net/dl.php?file=notpacman-1004/notpacman-linux.zip -> ${P}.zip
12 http://dev.gentoo.org/~hasufell/distfiles/${PN}.png"
13
14 LICENSE="WTFPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17
18 LVSLOT="0.7"
19 RDEPEND=">=games-engines/love-0.7.2:${LVSLOT}
20 media-libs/devil[png]"
21 DEPEND="app-arch/unzip"
22
23 S=${WORKDIR}
24
25 src_install() {
26 local dir=${GAMES_DATADIR}/love/${PN}
27
28 exeinto "${dir}"
29 newexe not_pacman.love ${PN}.love
30
31 dodoc README
32
33 doicon -s 32 "${DISTDIR}"/${PN}.png
34 games_make_wrapper ${PN} "love-${LVSLOT} ${PN}.love" "${dir}"
35 make_desktop_entry ${PN}
36
37 prepgamesdirs
38 }
39
40 pkg_preinst() {
41 games_pkg_preinst
42 gnome2_icon_savelist
43 }
44
45 pkg_postinst() {
46 games_pkg_postinst
47 gnome2_icon_cache_update
48 }
49
50 pkg_postrm() {
51 gnome2_icon_cache_update
52 }

  ViewVC Help
Powered by ViewVC 1.1.20