summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-01-12 02:45:14 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2016-01-12 02:47:40 -0500
commit518849507a5f7d466ef010bc8eb60f109e58b6ee (patch)
treea2458cd06e0cb8632796f8a03889d5ff9f39cc09 /games-fps
parentgames-fps/alephone: EAPI=5 (diff)
downloadgentoo-518849507a5f7d466ef010bc8eb60f109e58b6ee.tar.gz
gentoo-518849507a5f7d466ef010bc8eb60f109e58b6ee.tar.bz2
gentoo-518849507a5f7d466ef010bc8eb60f109e58b6ee.zip
games-fps/quake1-data: EAPI=5
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/quake1-data/quake1-data-2.40.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/games-fps/quake1-data/quake1-data-2.40.ebuild b/games-fps/quake1-data/quake1-data-2.40.ebuild
index 1e7eff5d247b..03074c5b5814 100644
--- a/games-fps/quake1-data/quake1-data-2.40.ebuild
+++ b/games-fps/quake1-data/quake1-data-2.40.ebuild
@@ -7,7 +7,7 @@
# http://linux.omnipotent.net/article.php?article_id=11287
# ftp://ftp.cdrom.com/pub/idgames/idstuff/quake/quake106.zip
-EAPI=2
+EAPI=5
inherit eutils cdrom games
DESCRIPTION="iD Software's Quake 1 ... the data files"
@@ -41,27 +41,25 @@ src_unpack() {
echo ">>> Unpacking q101_int.lha to ${PWD}"
cat "${CDROM_ROOT}"/q101_int.1 "${CDROM_ROOT}"/q101_int.2 > \
"${S}"/q101_int.exe
- lha xqf "${S}"/q101_int.exe || die "failure unpacking q101_int.exe"
+ lha xqf "${S}"/q101_int.exe || die
rm -f q101_int.exe
elif [[ ${CDROM_SET} == "3" ]] ; then
echo ">>> Unpacking resource.1 to ${PWD}"
- lha xqf "${CDROM_ROOT}"/resource.1 || die "failure unpacking resource.1"
+ lha xqf "${CDROM_ROOT}"/resource.1 || die
fi
}
src_install() {
insinto "${GAMES_DATADIR}"/quake1/id1
case ${CDROM_SET} in
- 0) doins "${CDROM_ROOT}"/id1/* || die "doins pak files"
+ 0) doins "${CDROM_ROOT}"/id1/*
dodoc "${CDROM_ROOT}"/*.txt
;;
- 1|3)doins id1/* || die "doins pak files"
+ 1|3)doins id1/*
dodoc *.txt
;;
- 2) newins "${CDROM_ROOT}"/Setup/ID1/PAK0.PAK pak0.pak \
- || die "ins pak0.pak failed"
- newins "${CDROM_ROOT}"/Setup/ID1/PAK1.PAK pak1.pak \
- || die "ins pak1.pak failed"
+ 2) newins "${CDROM_ROOT}"/Setup/ID1/PAK0.PAK pak0.pak
+ newins "${CDROM_ROOT}"/Setup/ID1/PAK1.PAK pak1.pak
dodoc "${CDROM_ROOT}"/Docs/*
;;
esac