diff options
Diffstat (limited to 'games-rpg/lure')
-rw-r--r-- | games-rpg/lure/ChangeLog | 12 | ||||
-rw-r--r-- | games-rpg/lure/Manifest | 9 | ||||
-rw-r--r-- | games-rpg/lure/lure-1.1.ebuild | 108 | ||||
-rw-r--r-- | games-rpg/lure/metadata.xml | 5 |
4 files changed, 134 insertions, 0 deletions
diff --git a/games-rpg/lure/ChangeLog b/games-rpg/lure/ChangeLog new file mode 100644 index 000000000000..05a5b120d243 --- /dev/null +++ b/games-rpg/lure/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for games-rpg/lure +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/lure/ChangeLog,v 1.1 2009/08/11 22:52:58 mr_bones_ Exp $ + +*lure-1.1 (11 Aug 2009) + + 11 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org> +lure-1.1.ebuild, + +metadata.xml: + initial commit - ebuild submitted by Andreas Thalhammer and Anton Romanov + in + bug #221991 + diff --git a/games-rpg/lure/Manifest b/games-rpg/lure/Manifest new file mode 100644 index 000000000000..181ea373ae7f --- /dev/null +++ b/games-rpg/lure/Manifest @@ -0,0 +1,9 @@ +DIST lure-0.13.1.dat 637824 RMD160 997fcb97d8238cb15c8bcfbb9dd63f4845ef3eb5 SHA1 caae3cce5b7f042d214a7924550694514416e338 SHA256 ea047bca769ca8515ec70727ba45a1c494ed0bea5943023d330ab55f592fcd10 +DIST lure-de-1.1.zip 3717138 RMD160 1d0d817d18b264ba08e00a62186f1327229d41a9 SHA1 e25f6ea268d85e7acad345cba85f8d3573990c46 SHA256 5e83a6a8646629c55cfd84932b10231af2ff16d96e815ed0ce86564a0b3c186b +DIST lure-en-1.1.zip 5678861 RMD160 b7409969c5a90ce95c21e8ae0d4b07002728a98e SHA1 b7d430b17c361396ccf81734148cb0abb4bb4abb SHA256 f3178245a1483da1168c3a11e70b65d33c389f1f5df63d4f3a356886c1890108 +DIST lure-es-1.1.zip 2176970 RMD160 851e4ffbb2324d6ea1d42514dce926f649c92840 SHA1 302822838f04fc33babbd95177903466caae3301 SHA256 9306b9faad8c0a8189d3cbbfead511fc4d993655cc845cb8e15369baed2f7bb7 +DIST lure-fr-1.1.zip 3583274 RMD160 8dd5e40807789b665f9eb33256c946e8e0a04004 SHA1 d6f929d39cf338ee1310fe5d61fe9ad1f501248c SHA256 2983149f9912a72761b1225e834a41d19aa565689b9027061a0220779694a1f8 +DIST lure-it-1.1.zip 4718011 RMD160 b638fbe287e7e2e6cada19fbd3e242bc88ae716d SHA1 766896f7a9992cfe1688db9ee9aeadd8c78636b5 SHA256 524270b2fb3f1caef621acf4379e3dbb69aed3c8ec1a98b38e94b290d3b046cf +EBUILD lure-1.1.ebuild 2975 RMD160 ece397179a3a284f88e29313bb0c62e919179675 SHA1 9ff44f9c23ace3d2b46d5a946dea111876dda464 SHA256 17e9a0fb6ce3eaf7d5c562888fb7c76ee3b20734e95ff0f57e833087dad5ec71 +MISC ChangeLog 415 RMD160 4dbcea03bb140bafbf67f76ef85b310077d50efa SHA1 e4a39679b81ce819e5d804f9e55eb212958644d2 SHA256 4a927701d236d0e82bcb227f7073ad789f8539e7aa8851a13fd3db79e636a9df +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-rpg/lure/lure-1.1.ebuild b/games-rpg/lure/lure-1.1.ebuild new file mode 100644 index 000000000000..9cb15be6c678 --- /dev/null +++ b/games-rpg/lure/lure-1.1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/lure/lure-1.1.ebuild,v 1.1 2009/08/11 22:52:58 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DAT_PV=0.13.1 +DESCRIPTION="Lure of the Temptress" +HOMEPAGE="http://www.revolution.co.uk/_display.php?id=10" +SRC_URI=" + http://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/tags/release-0-13-1/dists/engine-data/lure.dat -> lure-${DAT_PV}.dat + !linguas_en? ( !linguas_es? ( !linguas_fr? ( !linguas_de? ( !linguas_it? + ( mirror://sourceforge//scummvm/${P}.zip -> ${PN}-en-${PV}.zip ) ) ) ) ) + linguas_en? ( mirror://sourceforge//scummvm/${P}.zip -> ${PN}-en-${PV}.zip ) + linguas_es? ( mirror://sourceforge//scummvm/${PN}-es-${PV}.zip ) + linguas_fr? ( mirror://sourceforge//scummvm/${PN}-fr-${PV}.zip ) + linguas_de? ( mirror://sourceforge//scummvm/${PN}-de-${PV}.zip ) + linguas_it? ( mirror://sourceforge//scummvm/${PN}-it-${PV}.zip )" + +LICENSE="lure" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LANGS_IUSE="linguas_en linguas_es linguas_de linguas_fr linguas_it" +IUSE=${LANGS_IUSE} +RESTRICT="mirror" + +RDEPEND=">=games-engines/scummvm-0.13.1" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} + +any_linguas() { + use linguas_en || use linguas_es || use linguas_de || use linguas_fr || use linguas_it +} + +src_unpack() { + local lang + + if any_linguas ; then + for lang in ${LANGS_IUSE} + do + use ${lang} && unpack ${PN}-${lang/linguas_}-${PV}.zip + done + mv lure lure-en 2> /dev/null + else + unpack ${PN}-en-${PV}.zip + fi +} + +src_prepare() { + local lang f + + find . \ + \( -iname "*exe" \ + -o -iname "*ega" \ + -o -iname LICENSE.txt \) \ + -exec rm -f '{}' + + mkdir docs + if any_linguas ; then + for lang in ${LANGS_IUSE} + do + mkdir docs/${lang} + find lure-${lang/linguas_} \ + \( -iname "*pdf" \ + -o -iname README \ + -o -iname "*txt" \) \ + -exec mv '{}' docs/${lang} \; 2> /dev/null + done + else + find lure \ + \( -iname "*pdf" \ + -o -iname README \ + -o -iname "*txt" \) \ + -exec mv '{}' docs \; 2> /dev/null + fi + for f in $(find docs -type f) + do + mv ${f} ${f%.*}.$(echo ${f#*.} | tr '[[:upper:]]' '[[:lower:]]') 2> /dev/null + done +} + +src_install() { + local lang + + if any_linguas ; then + for lang in ${LANGS_IUSE} + do + if use ${lang} ; then + lang=${lang/linguas_} + insinto "${GAMES_DATADIR}"/${PN}-${lang} + newins "${DISTDIR}"/lure-${DAT_PV}.dat lure.dat || die "newins failed" + doins -r ${PN}-${lang}/* + games_make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"${GAMES_DATADIR}/${PN}-${lang}\" lure" . + make_desktop_entry ${PN}-${lang} "Lure of the Temptress (${lang})" ${PN} + fi + done + else + insinto "${GAMES_DATADIR}"/${PN} + newins "${DISTDIR}"/lure-${DAT_PV}.dat lure.dat || die "newins failed" + doins -r ${PN}/* + games_make_wrapper ${PN} "scummvm -f -p \"${GAMES_DATADIR}/${PN}\" lure" . + make_desktop_entry ${PN} "Lure of the Temptress" + fi + dodoc -r docs/* + prepgamesdirs +} diff --git a/games-rpg/lure/metadata.xml b/games-rpg/lure/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-rpg/lure/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |