diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild')
-rw-r--r-- | games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild deleted file mode 100644 index b3c07e2abd36..000000000000 --- a/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils games - -DESCRIPTION="Arx Fatalis demo" -HOMEPAGE="https://www.arkane-studios.com/uk/arx.php" -SRC_URI="arx_demo_english.zip" - -LICENSE="ArxFatalisDemo" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="fetch" - -RDEPEND="games-rpg/arx-libertatis" -DEPEND="app-arch/cabextract - app-arch/unzip" - -S=${WORKDIR} - -pkg_nofetch() { - einfo "Please find and download ${SRC_URI} and put it into ${DISTDIR}." - einfo "There is a list of possible download locations at" - einfo "http://wiki.arx-libertatis.org/Getting_the_game_data#Demo" -} - -src_unpack() { - unpack ${A} - cabextract Setup1.cab || die "cabextract failed" - cabextract Setup2.cab || die "cabextract failed" - cabextract Setup3.cab || die "cabextract failed" -} - -src_install() { - insinto "${GAMES_DATADIR}/${PN}" - doins -r *.pak bin/*.pak - insinto "${GAMES_DATADIR}/${PN}/misc" - doins bin/Logo.bmp bin/Arx.ttf - - # convert to lowercase - cd "${D}" - find . -type f -exec sh -c 'echo "${1}" - lower="`echo "${1}" | tr [:upper:] [:lower:]`" - [ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \; - - make_desktop_entry "arx --data-dir=${GAMES_DATADIR}/arx-fatalis-demo" \ - "Arx Fatalis Demo" arx-libertatis - - prepgamesdirs -} |