use doins
authorTristan Heaven <tristan@gentoo.org>
Sun, 25 Feb 2007 13:01:28 +0000 (13:01 +0000)
committerTristan Heaven <tristan@gentoo.org>
Sun, 25 Feb 2007 13:01:28 +0000 (13:01 +0000)
Package-Manager: portage-2.1.2-r11

games-action/chickens/Manifest
games-action/chickens/chickens-0.2.4.ebuild

index 92a6b71abf1c0ba52adc1a384aaebde847272c6d..1ba602d92403cd84f3b5303a243217a3cb7abd02 100644 (file)
@@ -1,8 +1,11 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST ChickensForLinux-Linux-0.2.4.tar.gz 1455207 RMD160 e7cf537e0bb43a1ecb4089b929093626fc78caf7 SHA1 c9bb8f4989dbde77c4085d0f6fa47ec50db6df83 SHA256 604dc614793b5bee2346639df14ab846cf878fed09ef695804d5aa21d85b518b
-EBUILD chickens-0.2.4.ebuild 1423 RMD160 d9e20e781f34fd8510c2d39551969115f3f81a58 SHA1 c9b3a75e9b8ceefd1299192e66190bdec9124b00 SHA256 787f45ef488ef8d5820694c9a97b43487764b809b04d1663464f0b1b5fe1d8ed
-MD5 cd6f533a1d8614a75992e9bb330a8a51 chickens-0.2.4.ebuild 1423
-RMD160 d9e20e781f34fd8510c2d39551969115f3f81a58 chickens-0.2.4.ebuild 1423
-SHA256 787f45ef488ef8d5820694c9a97b43487764b809b04d1663464f0b1b5fe1d8ed chickens-0.2.4.ebuild 1423
+EBUILD chickens-0.2.4.ebuild 1417 RMD160 076a4741d60d9329b995d3b5931fc9b91237a905 SHA1 a1f6d84a5f8c9cdeeb3c0671b51b117476a82a64 SHA256 a8c1dc8ff74e445ecd0be234856eefe2c9e01a94b50ce2af664bf92ee2bc701c
+MD5 93e33ec1b4fe6651c08a3c251ee11aa5 chickens-0.2.4.ebuild 1417
+RMD160 076a4741d60d9329b995d3b5931fc9b91237a905 chickens-0.2.4.ebuild 1417
+SHA256 a8c1dc8ff74e445ecd0be234856eefe2c9e01a94b50ce2af664bf92ee2bc701c chickens-0.2.4.ebuild 1417
 MISC ChangeLog 1631 RMD160 5f2f5d58cda554cf662ea37a9f80fc10ba64db9e SHA1 bab2575b6a949b7e5819d43a44923b76a9db3bcc SHA256 4f7fb9882af58335c96d2f9b6b8d8f211ce06973d6d9b005f1c133514e175ea7
 MD5 794b3e805c783bf5a3528cb63dc10a60 ChangeLog 1631
 RMD160 5f2f5d58cda554cf662ea37a9f80fc10ba64db9e ChangeLog 1631
@@ -14,3 +17,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
 MD5 bf56150b63b40d1a21a7aaa980a49172 files/digest-chickens-0.2.4 289
 RMD160 5bee56a3bf3304955588514dddc3b23123b0cb56 files/digest-chickens-0.2.4 289
 SHA256 42f1f4fc6b7b510d3304fa230af37da8586f8c7f90dc19d46b582b180caf07e9 files/digest-chickens-0.2.4 289
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF4Yiudz7hIScOURERAt5MAJ41THvxXPkdIPaDCx+gtGWnKjcDEQCfVEcL
+cZEy9HElF5VgrQR1IK/GXFY=
+=xADl
+-----END PGP SIGNATURE-----
index 9e4244dcbfba7ff14a9a270845160094d343cd67..13ac619fc2b46b4ff860e02f180f6e366a3ecebf 100644 (file)
@@ -1,6 +1,6 @@
-# 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-action/chickens/chickens-0.2.4.ebuild,v 1.9 2006/09/20 16:42:42 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/chickens-0.2.4.ebuild,v 1.10 2007/02/25 13:01:28 nyhm Exp $
 
 inherit games
 
@@ -16,7 +16,7 @@ IUSE=""
 
 DEPEND="media-libs/allegro"
 
-S=${WORKDIR}/chickens
+S=${WORKDIR}/${PN}
 
 src_unpack() {
        unpack ${A}
@@ -31,19 +31,18 @@ src_unpack() {
                -e "s:\"sound/:\"${GAMES_DATADIR}/${PN}/sound/:" \
                -e "s:\"dat/:\"${GAMES_DATADIR}/${PN}/dat/:" main.cpp README \
                || die "sed failed"
-       chmod a-x {dat,sound}/*
+       sed -i '/^CPPFLAGS/d' configure || die "sed failed"
 }
 
 src_install() {
-       dogamesbin chickens || die "dogamesbin failed"
-       dodir "${GAMES_DATADIR}/${PN}"
-       cp -r {dat,sound} "${D}/${GAMES_DATADIR}/${PN}" \
-               || die "cp failed"
+       dogamesbin ${PN} || die "dogamesbin failed"
+       insinto "${GAMES_DATADIR}"/${PN}
+       doins -r dat sound || die "doins failed"
        dodoc AUTHOR README
-       insinto "${GAMES_STATEDIR}/${PN}"
+       insinto "${GAMES_STATEDIR}"/${PN}
        doins HighScores || die "doins failed"
-       insinto "${GAMES_SYSCONFDIR}/${PN}"
+       insinto "${GAMES_SYSCONFDIR}"/${PN}
        doins options.cfg || die "doins failed"
-       fperms g+w "${GAMES_STATEDIR}/${PN}/HighScores"
+       fperms g+w "${GAMES_STATEDIR}"/${PN}/HighScores
        prepgamesdirs
 }