tidy; stable for x86
authorMichael Sterrett <mr_bones_@gentoo.org>
Wed, 28 Mar 2007 01:43:06 +0000 (01:43 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Wed, 28 Mar 2007 01:43:06 +0000 (01:43 +0000)
Package-Manager: portage-2.1.2.2

games-arcade/afternoonstalker/ChangeLog
games-arcade/afternoonstalker/Manifest
games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild

index 673367ed87eea7129a8e039fcc89e8c46ab04d32..dfe89077b489e0393509a7c86298ef44e1ee5b3b 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-arcade/afternoonstalker
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/ChangeLog,v 1.2 2007/03/26 06:17:09 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/ChangeLog,v 1.3 2007/03/28 01:43:06 mr_bones_ Exp $
+
+  28 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org>
+  afternoonstalker-1.1.1.ebuild:
+  tidy; stable for x86
 
   26 Mar 2007; <tupone@gentoo.org> afternoonstalker-1.1.1.ebuild:
   Added ~x86 keyword. Bug #172259 by Will Briggs
index 3cfc2504f91775e464b221bbc4880f49949589d1..683d8ed477a217ff7d442943f04c10b6d097804e 100644 (file)
@@ -1,12 +1,12 @@
 DIST afternoonstalker-1.1.1.tar.gz 193895 RMD160 49187faff8274dbc2fe3fe7d30ac65698371525e SHA1 7b18de3b18258136ff7cc5d5aef2dd0fcb7c68d0 SHA256 7c0c2829968ec1673d798ec412cd65620a2856aefe92c1f7c2f8cac3fb0010ca
-EBUILD afternoonstalker-1.1.1.ebuild 1021 RMD160 dbba9f8010ad47c3b50bffa99d78fbecf93ed79e SHA1 00e43c351731caae7eaa5525ecb533a8e6309d6a SHA256 c1a389387eb7b2ddbc7b1a5b8378f70851a5c77a73fdb0373513315bed92e25c
-MD5 6a6b66edee9775b3dc8f161e8df9932c afternoonstalker-1.1.1.ebuild 1021
-RMD160 dbba9f8010ad47c3b50bffa99d78fbecf93ed79e afternoonstalker-1.1.1.ebuild 1021
-SHA256 c1a389387eb7b2ddbc7b1a5b8378f70851a5c77a73fdb0373513315bed92e25c afternoonstalker-1.1.1.ebuild 1021
-MISC ChangeLog 524 RMD160 25acbabb72ebcc9b3b7738292c89bafffb383b9c SHA1 580f1953bb94287510723c2616e4bc3a2d4127c7 SHA256 b5d85fed8db15c542e25eb22d71b954213fde31e5fcd0a0f81762ff6a39cd4a5
-MD5 1e9f06f80837ce3096a86ba799537569 ChangeLog 524
-RMD160 25acbabb72ebcc9b3b7738292c89bafffb383b9c ChangeLog 524
-SHA256 b5d85fed8db15c542e25eb22d71b954213fde31e5fcd0a0f81762ff6a39cd4a5 ChangeLog 524
+EBUILD afternoonstalker-1.1.1.ebuild 1277 RMD160 d8e7747d0cacc846ba9319038a8ab181b9b177e2 SHA1 76f29f2d505e3779ed183b5fbef1832d9a7e3ce5 SHA256 c07d984121725bd39d6cb62ebf3a370ec231b7ddfd3f1ff1e037b6f6412b122a
+MD5 be2d7b55ff0cd331a638861188a8ed87 afternoonstalker-1.1.1.ebuild 1277
+RMD160 d8e7747d0cacc846ba9319038a8ab181b9b177e2 afternoonstalker-1.1.1.ebuild 1277
+SHA256 c07d984121725bd39d6cb62ebf3a370ec231b7ddfd3f1ff1e037b6f6412b122a afternoonstalker-1.1.1.ebuild 1277
+MISC ChangeLog 639 RMD160 50e27b3c1ac7b16cd890d20c7944e7275cd4ac16 SHA1 a658e96e66020d35628ed2e88a2fd212569f3c2a SHA256 2e9677d41592e9a3b3bf1f9fd72d6b01d2f372ce0ac8c90606001c7db0af59ab
+MD5 633486671056a99266442b25cd223c18 ChangeLog 639
+RMD160 50e27b3c1ac7b16cd890d20c7944e7275cd4ac16 ChangeLog 639
+SHA256 2e9677d41592e9a3b3bf1f9fd72d6b01d2f372ce0ac8c90606001c7db0af59ab ChangeLog 639
 MISC metadata.xml 292 RMD160 0c3b43582a81b1f6e3253c59695926731450d721 SHA1 97e15c06137e945949f4190284547f0b03449125 SHA256 a31e9dc062719f882e69ceec2abdfdc7a63aa572c10239cf527fd1ea6eb6156c
 MD5 9534c0ad404aa9cfe8cf2610874dd497 metadata.xml 292
 RMD160 0c3b43582a81b1f6e3253c59695926731450d721 metadata.xml 292
index 89f1987891e2159a7d46a12c1c69ad717cbcb7a6..5b0bd1ba6670cfbaf12db41bacaed784e39eb700 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild,v 1.2 2007/03/26 06:17:09 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/afternoonstalker-1.1.1.ebuild,v 1.3 2007/03/28 01:43:06 mr_bones_ Exp $
 
-inherit games
+inherit autotools eutils games
 
 DESCRIPTION="Clone of the 1981 Night Stalker video game by Mattel Electronics"
 HOMEPAGE="http://www3.sympatico.ca/sarrazip/dev/afternoonstalker.html"
@@ -10,7 +10,7 @@ SRC_URI="http://www3.sympatico.ca/sarrazip/dev/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE=""
 
 DEPEND="media-libs/libsdl
@@ -18,21 +18,34 @@ DEPEND="media-libs/libsdl
        media-libs/sdl-mixer
        dev-games/flatzebra"
 
-src_compile() {
-       egamesconf || die "egamesconf failed"
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       sed -i \
+               -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
+               -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
+               -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \
+               src/Makefile.am \
+               || die "sed failed"
+       sed -i \
+               -e '/^docdir/d' \
+               -e '/INSTALL/d' \
+               -e '/COPYING/d' \
+               Makefile.am \
+               || die "sed failed"
+       AT_M4DIR=macros eautoreconf
+}
 
-       emake DGAMEDATADIR="${GAMES_DATADIR}/${PN}" \
-               pkgsounddir="${GAMES_DATADIR}/${PN}/sounds" \
-               || die "emake failed"
+src_compile() {
+       egamesconf \
+               --disable-dependency-tracking \
+               --docdir=/usr/share/doc/${PF} \
+               || die
+       emake || die "emake failed"
 }
 
 src_install() {
-       dogamesbin src/${PN} || die "dogamesbin failed"
-
-       insinto "${GAMES_DATADIR}"/${PN}
-       doins -r src/data/* src/images/* src/sounds || die "doins failed"
-
-       dodoc AUTHORS NEWS README THANKS TODO
-
+       emake DESTDIR="${D}" install || die "emake install failed"
+       prepalldocs
        prepgamesdirs
 }