summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-20 22:30:27 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-21 02:50:23 +0100
commit4e13d525dc8e42ac7c0f5630f3a0fc9882f9a34e (patch)
tree365275ddfcd691ceef9a73909d023f9bdf2f8e98 /games-rpg/lure
parentgames-rpg/kqlives: Remove old (diff)
downloadgentoo-4e13d525dc8e42ac7c0f5630f3a0fc9882f9a34e.tar.gz
gentoo-4e13d525dc8e42ac7c0f5630f3a0fc9882f9a34e.tar.bz2
gentoo-4e13d525dc8e42ac7c0f5630f3a0fc9882f9a34e.zip
games-rpg/lure: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-rpg/lure')
-rw-r--r--games-rpg/lure/lure-1.1.ebuild108
1 files changed, 0 insertions, 108 deletions
diff --git a/games-rpg/lure/lure-1.1.ebuild b/games-rpg/lure/lure-1.1.ebuild
deleted file mode 100644
index 4c243f2e4ed6..000000000000
--- a/games-rpg/lure/lure-1.1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-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
- 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}
- docinto linguas_${lang}
- dodoc docs/linguas_${lang}/*
- fi
- done
- else
- insinto "${GAMES_DATADIR}"/${PN}
- newins "${DISTDIR}"/lure-${DAT_PV}.dat lure.dat
- doins -r ${PN}/*
- games_make_wrapper ${PN} "scummvm -f -p \"${GAMES_DATADIR}/${PN}\" lure" .
- make_desktop_entry ${PN} "Lure of the Temptress"
- fi
- prepgamesdirs
-}