diff options
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/arx-fatalis-demo/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-demo/Manifest | 4 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild | 53 | ||||
-rw-r--r-- | games-rpg/arx-fatalis-demo/metadata.xml | 10 |
4 files changed, 77 insertions, 0 deletions
diff --git a/games-rpg/arx-fatalis-demo/ChangeLog b/games-rpg/arx-fatalis-demo/ChangeLog new file mode 100644 index 000000000000..32670da532a5 --- /dev/null +++ b/games-rpg/arx-fatalis-demo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-rpg/arx-fatalis-demo +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-fatalis-demo/ChangeLog,v 1.1 2012/06/29 21:48:35 hasufell Exp $ + +*arx-fatalis-demo-0 (29 Jun 2012) + + 29 Jun 2012; Julian Ospald <hasufell@gentoo.org> +arx-fatalis-demo-0.ebuild, + +metadata.xml: + initial import + diff --git a/games-rpg/arx-fatalis-demo/Manifest b/games-rpg/arx-fatalis-demo/Manifest new file mode 100644 index 000000000000..affe76a423e3 --- /dev/null +++ b/games-rpg/arx-fatalis-demo/Manifest @@ -0,0 +1,4 @@ +DIST arx_demo_english.zip 160545354 RMD160 dd9019252a5b2dbd7f375863cf37f8c74cf2746d SHA1 16a78e498475eefb46c0db28efc4f211f198cf79 SHA256 9e85d4bfa081a4ccc40a1f3722b32c23cd9fa95e91f47d32be76aa62c9fd7187 +EBUILD arx-fatalis-demo-0.ebuild 1295 RMD160 a64e012cc293a773ad9fb353037a9e30b802e01d SHA1 4f6ad6ea2ed461df149dddc2f8b15e6dd4fa2cfc SHA256 9ea9be1ba3c103d2d37c8c024395023f20e3bb647a4bab709be3d55f05345dc2 +MISC ChangeLog 276 RMD160 b0808db42ed60cf31bf19cb37012837881fb4fa9 SHA1 8e2f92b7a9c646acd5dca7c13617594c9c998585 SHA256 60e85c07c9c0b34170e4061917dc246f9bfa722acbd30e162f1cd6172fcce85f +MISC metadata.xml 255 RMD160 cc3f4166829c2668729ae9297e2f612390f51041 SHA1 e6e8defa0e59d10623400331ea0819a8822d0656 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 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..3c8c75d9ebc7 --- /dev/null +++ b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0.ebuild,v 1.1 2012/06/29 21:48:35 hasufell Exp $ + +EAPI=4 + +inherit eutils games + +DESCRIPTION="Arx Fatalis demo" +HOMEPAGE="http://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 + find "${D}" -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..e52db06ebd8c --- /dev/null +++ b/games-rpg/arx-fatalis-demo/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> + |