summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-19 22:47:15 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-19 22:57:42 +0300
commitc205a948abb42ca33a187badfd6702fd66a60cb2 (patch)
treecb281b43e71adf4c17726e2b2bf6508f3348e0f8 /games-rpg
parentgames-rpg/arx-fatalis-demo: Save from portage (diff)
downloadgamerlay-c205a948abb42ca33a187badfd6702fd66a60cb2.tar.gz
gamerlay-c205a948abb42ca33a187badfd6702fd66a60cb2.tar.bz2
gamerlay-c205a948abb42ca33a187badfd6702fd66a60cb2.zip
games-rpg/arx-fatalis-demo: update ebuild
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/arx-fatalis-demo/arx-fatalis-demo-0-r2.ebuild (renamed from games-rpg/arx-fatalis-demo/arx-fatalis-demo-0-r1.ebuild)30
1 files changed, 11 insertions, 19 deletions
diff --git a/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0-r1.ebuild b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0-r2.ebuild
index 5cc3286..689ef22 100644
--- a/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0-r1.ebuild
+++ b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0-r2.ebuild
@@ -3,10 +3,8 @@
EAPI=7
-inherit desktop
-
DESCRIPTION="Arx Fatalis demo"
-HOMEPAGE="https://www.arkane-studios.com/uk/arx.php"
+HOMEPAGE="https://store.steampowered.com/app/1700/Arx_Fatalis/"
SRC_URI="arx_demo_english.zip"
LICENSE="all-rights-reserved"
@@ -15,7 +13,9 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="fetch"
-RDEPEND="games-rpg/arx-libertatis"
+RDEPEND="
+ !games-rpg/arx-fatalis-data
+ games-rpg/arx-libertatis"
DEPEND="
app-arch/cabextract
app-arch/unzip
@@ -31,23 +31,15 @@ pkg_nofetch() {
src_unpack() {
unpack ${A}
- cabextract Setup1.cab || die "cabextract failed"
- cabextract Setup2.cab || die "cabextract failed"
- cabextract Setup3.cab || die "cabextract failed"
+ cabextract Setup{1,2,3}.cab || die "cabextract failed"
}
src_install() {
- insinto /usr/share/${PN}
- doins -r *.pak bin/*.pak
- insinto /usr/share/${PN}/misc
+ insinto /usr/share/arx/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=/usr/share/arx-fatalis-demo" \
- "Arx Fatalis Demo" arx-libertatis
+ insinto /usr/share/arx
+ newins bin/LOC.pak loc.pak
+ newins SFX.pak sfx.pak
+ newins SPEECH.pak speech.pak
+ doins data.pak bin/data2.pak
}