From: Tristan Heaven Date: Wed, 4 Apr 2007 17:56:32 +0000 (+0000) Subject: use games_get_libdir X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f8a44a261b47280563c9f526862f9afea6941383;p=gentoo.git use games_get_libdir Package-Manager: portage-2.1.2.3 --- diff --git a/games-puzzle/pathological/Manifest b/games-puzzle/pathological/Manifest index a8b1ff8b6ddd..e326acf1c338 100644 --- a/games-puzzle/pathological/Manifest +++ b/games-puzzle/pathological/Manifest @@ -10,10 +10,10 @@ MD5 c817c498f3d5e44ee7bec1c58f1bc643 files/pathological-1.1.3-music-py.patch 475 RMD160 697d212e125fa0eca72f6aa78e80ac582955752f files/pathological-1.1.3-music-py.patch 475 SHA256 35938ac1f96dad12c74fd57e0002fcf523fe573b269e03992d3ae006880819c0 files/pathological-1.1.3-music-py.patch 475 DIST pathological-1.1.3.tar.gz 6995274 RMD160 3a85804cdc00f8c91a7ea6f219d7f4e128c103a0 SHA1 70b1c9e12704c7fd3b301aa90bceee2e8373b7b9 SHA256 813ef0812ba6b3218b35c2ddea423c9c6ee912925824497f52d5310bc76f85de -EBUILD pathological-1.1.3-r1.ebuild 1798 RMD160 aacb302114c6e8e130fd2cc4f9a9c16c8f5a70d4 SHA1 14a128793f0eb311d1b9f8e2c5470b3d17461bdc SHA256 2f22c2df487fcc64b4f8cb8f2699f2a1721332c7ba54bab600107a195ba49e5a -MD5 2f6bdfc9a98a36bf9aaf713dba52106a pathological-1.1.3-r1.ebuild 1798 -RMD160 aacb302114c6e8e130fd2cc4f9a9c16c8f5a70d4 pathological-1.1.3-r1.ebuild 1798 -SHA256 2f22c2df487fcc64b4f8cb8f2699f2a1721332c7ba54bab600107a195ba49e5a pathological-1.1.3-r1.ebuild 1798 +EBUILD pathological-1.1.3-r1.ebuild 1746 RMD160 8ce1816d485f860bb5527f4e259c7b9d40470c2b SHA1 e81b10c18f9bfa645814c49c3e8b61642217ecbe SHA256 e2ec2c9cdbb31a41e86447fdf944cf0ac38af4a84eef41fa4fb77d5121db59fb +MD5 104d3d22ec17dfa7a8f0808ff7a72542 pathological-1.1.3-r1.ebuild 1746 +RMD160 8ce1816d485f860bb5527f4e259c7b9d40470c2b pathological-1.1.3-r1.ebuild 1746 +SHA256 e2ec2c9cdbb31a41e86447fdf944cf0ac38af4a84eef41fa4fb77d5121db59fb pathological-1.1.3-r1.ebuild 1746 MISC ChangeLog 1885 RMD160 c72ec6070de304e4c7ed303176434210dbdcf68c SHA1 2b4f122e36a5b7452392fb9de2cdb3e83187a0dc SHA256 fbb7b13770df2c9e357c93fb7791606e771e23c5464f9c126f298ec0d8cdafbe MD5 d103fa86b104bf10b60a7c4e4abfad75 ChangeLog 1885 RMD160 c72ec6070de304e4c7ed303176434210dbdcf68c ChangeLog 1885 @@ -26,9 +26,9 @@ MD5 feba9bb1c81f91b85af7a991e6a5b382 files/digest-pathological-1.1.3-r1 259 RMD160 aeb96d72d3a12c003ca34e05e4f3b6c7be517014 files/digest-pathological-1.1.3-r1 259 SHA256 f6cce1ca7ac3d02c1c37f515b245261e2723242a5ea867477da6994987115723 files/digest-pathological-1.1.3-r1 259 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFFOBbvdz7hIScOURERAg1nAJ4gw0E5XrspHQ25GkUAqtbqVEQqsgCgm9GL -JgMOscrRXEJXV3qRFLEr+GY= -=/4Ix +iD8DBQFGE+bXdz7hIScOURERAnBQAJsG4/LJ5e2cwd5lF3u12DNlSf7EVwCfYIzx +XRdo6EK0MZjkcpVCEYTTE+Q= +=/K8O -----END PGP SIGNATURE----- diff --git a/games-puzzle/pathological/pathological-1.1.3-r1.ebuild b/games-puzzle/pathological/pathological-1.1.3-r1.ebuild index f5ce21baba19..5ed887c8512e 100644 --- a/games-puzzle/pathological/pathological-1.1.3-r1.ebuild +++ b/games-puzzle/pathological/pathological-1.1.3-r1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/pathological-1.1.3-r1.ebuild,v 1.4 2006/10/20 00:23:05 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/pathological-1.1.3-r1.ebuild,v 1.5 2007/04/04 17:56:32 nyhm Exp $ inherit eutils games DESCRIPTION="An enriched clone of the game 'Logical' by Rainbow Arts" HOMEPAGE="http://pathological.sourceforge.net/" -SRC_URI="mirror://sourceforge/pathological/${P}.tar.gz" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -34,18 +34,19 @@ src_unpack() { sed -i \ -e "s:/usr/share/games:${GAMES_DATADIR}:" \ - pathological || die "sed pathological failed" + -e "s:/var/games:${GAMES_STATEDIR}:" \ + -e "s:exec:exec python:" \ + ${PN} || die "sed ${PN} failed" sed -i \ - -e "s:/usr/lib/pathological/bin:${GAMES_LIBDIR}/${PN}:" \ - -e "s:/var/games:${GAMES_STATEDIR}:" \ - pathological.py || die "sed pathological.py failed" + -e "s:/usr/lib/${PN}/bin:$(games_get_libdir)/${PN}:" \ + ${PN}.py || die "sed ${PN}.py failed" } src_install() { dogamesbin ${PN} || die "dogamesbin failed" - exeinto "${GAMES_LIBDIR}"/${PN} + exeinto "$(games_get_libdir)"/${PN} doexe write-highscores || die "doexe failed" insinto "${GAMES_DATADIR}"/${PN} @@ -53,6 +54,7 @@ src_install() { insinto "${GAMES_STATEDIR}" doins ${PN}_scores || die "doins scores failed" + fperms 660 "${GAMES_STATEDIR}"/${PN}_scores dodoc changelog README TODO doman ${PN}.6 @@ -63,8 +65,5 @@ src_install() { # remove some unneeded resource files rm -f "${D}/${GAMES_DATADIR}"/${PN}/graphics/*.xcf - - fperms 660 "${GAMES_STATEDIR}"/${PN}_scores - fperms 750 "${GAMES_DATADIR}"/${PN}/${PN}.py prepgamesdirs }