commit: 518849507a5f7d466ef010bc8eb60f109e58b6ee Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> AuthorDate: Tue Jan 12 07:45:14 2016 +0000 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> CommitDate: Tue Jan 12 07:47:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51884950
games-fps/quake1-data: EAPI=5 Package-Manager: portage-2.2.26 games-fps/quake1-data/quake1-data-2.40.ebuild | 16 +++++++--------- 1 file 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 1e7eff5..03074c5 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
