diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-02 14:31:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-02 14:31:15 +0000 |
commit | c64c254daeb12ba3d65f2ec225562c5ba0d547bf (patch) | |
tree | 76975246c7976bd4b2cd2e9d0fde5b0672a19888 /games-fps | |
parent | use sed -i (diff) | |
download | historical-c64c254daeb12ba3d65f2ec225562c5ba0d547bf.tar.gz historical-c64c254daeb12ba3d65f2ec225562c5ba0d547bf.tar.bz2 historical-c64c254daeb12ba3d65f2ec225562c5ba0d547bf.zip |
use dosed
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/americas-army/americas-army-200a.ebuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/games-fps/americas-army/americas-army-200a.ebuild b/games-fps/americas-army/americas-army-200a.ebuild index 7037384b7d6f..98f9c19a9ee0 100644 --- a/games-fps/americas-army/americas-army-200a.ebuild +++ b/games-fps/americas-army/americas-army-200a.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/americas-army-200a.ebuild,v 1.4 2004/02/27 19:20:41 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/americas-army-200a.ebuild,v 1.5 2004/03/02 14:31:15 vapier Exp $ inherit games @@ -30,8 +30,7 @@ pkg_setup() { } src_unpack() { - unpack_makeself || die "Unpacking game" - + unpack_makeself tar -zxf setupstuff.tar.gz || die } @@ -41,21 +40,20 @@ src_install() { local dir=${GAMES_PREFIX_OPT}/${PN} dodir ${dir} - tar -jxf armyops200a.tar.bz2 -C ${D}/${dir}/ || die - tar -jxf binaries.tar.bz2 -C ${D}/${dir}/ || die + tar -jxf armyops200a.tar.bz2 -C ${D}/${dir}/ || die "armyops untar failed" + tar -jxf binaries.tar.bz2 -C ${D}/${dir}/ || die "binaries untar failed" dodoc README.linux insinto ${dir} ; doins ArmyOps.xpm README.linux insinto /usr/share/pixmaps ; doins ArmyOps.xpm exeinto ${dir} ; doexe bin/armyops - sed -e "s:GENTOO_DIR:${dir}:" ${FILESDIR}/armyops > armyops - dogamesbin armyops + dogamesbin ${FILESDIR}/armyops + dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/armyops dosym ${dir}/armyops ${GAMES_BINDIR}/armyops prepgamesdirs make_desktop_entry armyops "America's Army" ArmyOps.xpm - } pkg_postinst() { |