diff options
Diffstat (limited to 'games-rpg/arx-fatalis-demo')
-rw-r--r-- | games-rpg/arx-fatalis-demo/Manifest | 5 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild | 53 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-demo/metadata.xml | 17 |
3 files changed, 75 insertions, 0 deletions
diff --git a/games-rpg/arx-fatalis-demo/Manifest b/games-rpg/arx-fatalis-demo/Manifest new file mode 100644 index 000000000000..a4feeaa19072 --- /dev/null +++ b/games-rpg/arx-fatalis-demo/Manifest @@ -0,0 +1,5 @@ +DIST arx_demo_english.zip 160545354 SHA256 9e85d4bfa081a4ccc40a1f3722b32c23cd9fa95e91f47d32be76aa62c9fd7187 SHA512 0cbf0d6da1a373ed29edc49c65ed431117c868ec7bcab04166abd59f5d799460faec506baf191c83fa7c61372888009abb260d8a50e28507a5ec8ab7913a9ad7 WHIRLPOOL 2ef662feac747fc7da44c224d46bd2bc9ab48c01c572912df3464dbef04cd47c4c3768e09f26dde27104e62e3c7c9f4ffe828ec2dac53a80467b31533bcc6731 +EBUILD arx-fatalis-demo-0.ebuild 1287 SHA256 ae190ec0236e4ce7d260c1b03937e643b29629635341029011ef7f3804c3de97 SHA512 9176a4e1cdcf8eb2f1a51b6cf62c276e99554aa33e66f86ff5f9dac49e4ac63ed1cc7d4325b93a13c2472e72d3efeb72760fbc4abb50549c901cb771134e15a1 WHIRLPOOL 3a8793e47f04a3307b1ef64b5be4a2d29c0eeeb336ad18a17d83e1a3138255c920c2eb2882e75bc507dc96cd92f76ce5a54ba6cbd746ac1fa44c5fb5f64e49f3 +MISC ChangeLog 3303 SHA256 16dd2e3b3d13ec9ef73f7d38e5dc947a47f788ec11b6989da93d7867caa44437 SHA512 9d995024d28f249dc2d74c2fcb904736697e50b992ebdc08a87c5bab1c7755925a7a323289d4a6f3fbc6a435bb5bcd1143c3b3752213fb73558c08f1280fbcad WHIRLPOOL 9079b5f564094a7dcfee09fafa080b3dc17f0232c10c3acdc301b5e608b1dc6d9177666e8c2f44cd3536e6a8b3660c47b927f4e9685c06feec95a789ef7b3286 +MISC ChangeLog-2015 831 SHA256 64014620478c808e8bbc9f1d569d8b9425ce562aef9b87d32d8d170a44964c77 SHA512 b7f3729813f2bf1d30be485a6ff01e0d6591c42e38cdd9e6c88d7bf98040a989e24871d35713c20f04657f69a4b5eb658a1fa12bc7c14caebcde6742e65fe9dc WHIRLPOOL 7fbe6976f08859412fcf6a7520c01d8dcdc0d4541d2c3db23f81d1cd00961bdb124f85f1a333e0fd8861926e57400a2b5292a6a7d95048e534bb7c3ef27c9911 +MISC metadata.xml 543 SHA256 d72a38ef017de00a29f77a2351c302e4dc1303cd870903161835840c9342ae13 SHA512 600c90482c7e59697c69e1cb389651cc6da2dd2c9adcc9080cb4179e38622c87c60e66f8ee4b3e86a6ffb1595b00ef4c320db99cef5e6030700321a139022a40 WHIRLPOOL ebaa7dea3d0b63326abf429860da6a83b6438240226a87865644fa54dbfdc9d3caad6b4cee2d38ba0658f64d9c532b3ad8514a244d75535546abe4773e8bd84e diff --git a/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild new file mode 100644 index 000000000000..3c62337cee7d --- /dev/null +++ b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild @@ -0,0 +1,53 @@ +# 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 +} diff --git a/games-rpg/arx-fatalis-demo/metadata.xml b/games-rpg/arx-fatalis-demo/metadata.xml new file mode 100644 index 000000000000..7a7c278f7b87 --- /dev/null +++ b/games-rpg/arx-fatalis-demo/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="person"> + <email>daniel@constexpr.org</email> + <name>Daniel Scharrer</name> + <description>Proxy maintainer. CC him on bugs</description> + </maintainer> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> |