summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2006-10-20 00:23:05 +0000
committerTristan Heaven <tristan@gentoo.org>2006-10-20 00:23:05 +0000
commit8f25cd2c7c0f57602ea5279e7bd6b060488b5f68 (patch)
tree3a88394dca522e5cde80d856cf087d8e3634bb80 /games-puzzle
parentStable on Alpha. (diff)
downloadhistorical-8f25cd2c7c0f57602ea5279e7bd6b060488b5f68.tar.gz
historical-8f25cd2c7c0f57602ea5279e7bd6b060488b5f68.tar.bz2
historical-8f25cd2c7c0f57602ea5279e7bd6b060488b5f68.zip
Cleanup ebuild
Package-Manager: portage-2.1.2_pre3-r5
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/pathological/ChangeLog6
-rw-r--r--games-puzzle/pathological/Manifest32
-rw-r--r--games-puzzle/pathological/files/digest-pathological-1.1.3-r12
-rw-r--r--games-puzzle/pathological/pathological-1.1.3-r1.ebuild60
4 files changed, 51 insertions, 49 deletions
diff --git a/games-puzzle/pathological/ChangeLog b/games-puzzle/pathological/ChangeLog
index b7c48da6fcee..56bbaea597f3 100644
--- a/games-puzzle/pathological/ChangeLog
+++ b/games-puzzle/pathological/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/pathological
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/ChangeLog,v 1.11 2006/03/16 03:25:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/ChangeLog,v 1.12 2006/10/20 00:23:05 nyhm Exp $
+
+ 20 Oct 2006; Tristan Heaven <nyhm@gentoo.org>
+ pathological-1.1.3-r1.ebuild:
+ Cleanup ebuild
16 Mar 2006; Mike Frysinger <vapier@gentoo.org>
+files/pathological-1.1.3-build.patch, pathological-1.1.3-r1.ebuild:
diff --git a/games-puzzle/pathological/Manifest b/games-puzzle/pathological/Manifest
index ef215e6842b2..a8b1ff8b6ddd 100644
--- a/games-puzzle/pathological/Manifest
+++ b/games-puzzle/pathological/Manifest
@@ -1,28 +1,34 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 13f27a8e9564081f230cc1f1463a9749 ChangeLog 1789
-RMD160 2a60dc3750ae1413deb9ebd2f04bd461f4987552 ChangeLog 1789
-SHA256 d816aa601762b3e884a8ccb0715b79bc9ed420910c5228d277e485038c290fcf ChangeLog 1789
-MD5 af2e4c0e952d40232cb322d621f37995 files/digest-pathological-1.1.3-r1 71
-RMD160 68fd24320fff098fbe6a11340a2edc3017a5c921 files/digest-pathological-1.1.3-r1 71
-SHA256 d41c0833797aaf47f78c3484397120792862264471b896770d9fddd2fcd42af4 files/digest-pathological-1.1.3-r1 71
+AUX pathological-1.1.3-build.patch 527 RMD160 c63dd35a2f47e9a48ac4ff41646231778f8124b7 SHA1 54c4cb70b0a032bd66ff96171677756ef9e24f28 SHA256 93d4c806d11896a46d31b71fc81799141084cdde1323cc933c748b80f6ac4a3f
MD5 19ff87e1acdd6e1c14472b03cd0bb640 files/pathological-1.1.3-build.patch 527
RMD160 c63dd35a2f47e9a48ac4ff41646231778f8124b7 files/pathological-1.1.3-build.patch 527
SHA256 93d4c806d11896a46d31b71fc81799141084cdde1323cc933c748b80f6ac4a3f files/pathological-1.1.3-build.patch 527
+AUX pathological-1.1.3-music-py.patch 475 RMD160 697d212e125fa0eca72f6aa78e80ac582955752f SHA1 36d57d8488bec2c7948f0824919e0e04e5026b64 SHA256 35938ac1f96dad12c74fd57e0002fcf523fe573b269e03992d3ae006880819c0
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
+MISC ChangeLog 1885 RMD160 c72ec6070de304e4c7ed303176434210dbdcf68c SHA1 2b4f122e36a5b7452392fb9de2cdb3e83187a0dc SHA256 fbb7b13770df2c9e357c93fb7791606e771e23c5464f9c126f298ec0d8cdafbe
+MD5 d103fa86b104bf10b60a7c4e4abfad75 ChangeLog 1885
+RMD160 c72ec6070de304e4c7ed303176434210dbdcf68c ChangeLog 1885
+SHA256 fbb7b13770df2c9e357c93fb7791606e771e23c5464f9c126f298ec0d8cdafbe ChangeLog 1885
+MISC metadata.xml 221 RMD160 617e2d275f39c937dfdc8ae1ebc0b4fac331d0a9 SHA1 e947c4afb6291420a09d464cb18472cfcf1cb498 SHA256 80c34a967b80bba5f0f27215677fdad5b1ed739678287b62db1f6c345cf69811
MD5 95e2b5bfd7767aeae061c77f7e1a055e metadata.xml 221
RMD160 617e2d275f39c937dfdc8ae1ebc0b4fac331d0a9 metadata.xml 221
SHA256 80c34a967b80bba5f0f27215677fdad5b1ed739678287b62db1f6c345cf69811 metadata.xml 221
-MD5 c70439354243ce4f3ca0b3e2b166ca43 pathological-1.1.3-r1.ebuild 2102
-RMD160 e9c0681d542bbd823471c019b56873d790970afa pathological-1.1.3-r1.ebuild 2102
-SHA256 dbdc0f63f78b321eaea8a8b1cf9740f2af26ab55ec6958b162707b3ab8a1a073 pathological-1.1.3-r1.ebuild 2102
+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.2.2 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFEGNqu2+ySkm8kpY0RAggOAJ9Lz+syk11La2tf6AZ2MNBwTH2KEwCePwmG
-T1+FTe5ig2IURNCamiFKXHI=
-=GOQd
+iD8DBQFFOBbvdz7hIScOURERAg1nAJ4gw0E5XrspHQ25GkUAqtbqVEQqsgCgm9GL
+JgMOscrRXEJXV3qRFLEr+GY=
+=/4Ix
-----END PGP SIGNATURE-----
diff --git a/games-puzzle/pathological/files/digest-pathological-1.1.3-r1 b/games-puzzle/pathological/files/digest-pathological-1.1.3-r1
index 6e8753cc1e88..0f03991d5188 100644
--- a/games-puzzle/pathological/files/digest-pathological-1.1.3-r1
+++ b/games-puzzle/pathological/files/digest-pathological-1.1.3-r1
@@ -1 +1,3 @@
MD5 76a446080c0fed12baf39354d8e0ce4a pathological-1.1.3.tar.gz 6995274
+RMD160 3a85804cdc00f8c91a7ea6f219d7f4e128c103a0 pathological-1.1.3.tar.gz 6995274
+SHA256 813ef0812ba6b3218b35c2ddea423c9c6ee912925824497f52d5310bc76f85de pathological-1.1.3.tar.gz 6995274
diff --git a/games-puzzle/pathological/pathological-1.1.3-r1.ebuild b/games-puzzle/pathological/pathological-1.1.3-r1.ebuild
index 06dbad7eb269..f5ce21baba19 100644
--- a/games-puzzle/pathological/pathological-1.1.3-r1.ebuild
+++ b/games-puzzle/pathological/pathological-1.1.3-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 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.3 2006/03/16 03:25:23 vapier Exp $
+# $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 $
-inherit games eutils
+inherit eutils games
DESCRIPTION="An enriched clone of the game 'Logical' by Rainbow Arts"
HOMEPAGE="http://pathological.sourceforge.net/"
@@ -10,18 +10,16 @@ SRC_URI="mirror://sourceforge/pathological/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 amd64 ppc sparc"
+KEYWORDS="amd64 ppc sparc x86"
IUSE="doc"
-DEPEND="doc? ( media-libs/netpbm )
- >=sys-apps/sed-4"
-RDEPEND=">=dev-python/pygame-1.5.5
- dev-lang/python"
+DEPEND="doc? ( media-libs/netpbm )"
+RDEPEND=">=dev-python/pygame-1.5.5"
src_unpack() {
unpack ${A}
cd "${S}"
- gunzip pathological.6.gz
+ unpack ./${PN}.6.gz
epatch "${FILESDIR}"/${P}-build.patch
epatch "${FILESDIR}"/${P}-music-py.patch
@@ -31,50 +29,42 @@ src_unpack() {
-e '5,$ s/=/ /g' makehtml \
|| die "sed makehtml failed"
else
- echo "#!/bin/sh" > makehtml \
- || die "clearing makehtml failed"
+ echo "#!/bin/sh" > makehtml
fi
sed -i \
- -e "/^cd /s:/usr/share/pathological:${GAMES_DATADIR}/${PN}:" \
+ -e "s:/usr/share/games:${GAMES_DATADIR}:" \
pathological || die "sed pathological failed"
sed -i \
- -e "/^write_highscores /s:/usr/lib/pathological/bin:${GAMES_LIBDIR}/${PN}:" \
+ -e "s:/usr/lib/pathological/bin:${GAMES_LIBDIR}/${PN}:" \
+ -e "s:/var/games:${GAMES_STATEDIR}:" \
pathological.py || die "sed pathological.py failed"
}
src_install() {
- # executables
- dogamesbin pathological || die "dogamesbin failed"
- insinto "${GAMES_DATADIR}/${PN}"
- insopts -m0750
- doins pathological.py || die "doins failed"
- exeinto "${GAMES_LIBDIR}/${PN}"
+ dogamesbin ${PN} || die "dogamesbin failed"
+
+ exeinto "${GAMES_LIBDIR}"/${PN}
doexe write-highscores || die "doexe failed"
- # removed some unneeded resource files
- rm -f graphics/*.xcf
- rm -f sounds/*.orig
- # "install" resource files
- # Use cp, not mv so install can be done multiple times (for ebuild devel).
- cp -R circuits graphics music sounds "${D}/${GAMES_DATADIR}/${PN}" \
- || die "cp failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r circuits graphics music sounds ${PN}.py || die "doins data failed"
- # setup high score file
insinto "${GAMES_STATEDIR}"
- insopts -m0664
- doins pathological_scores || die "doins failed (pathological_scores)"
+ doins ${PN}_scores || die "doins scores failed"
- # documentation
- dodoc README TODO
- doman pathological.6
- use doc && dohtml -r html/
+ dodoc changelog README TODO
+ doman ${PN}.6
+ use doc && dohtml -r html/*
- insinto /usr/share/pixmaps
- doins pathological.xpm
+ doicon ${PN}.xpm
+ make_desktop_entry ${PN} Pathological ${PN}.xpm
- make_desktop_entry pathological Pathological pathological.xpm
+ # 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
}