summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-05-01 18:36:42 +0200
committerPacho Ramos <pacho@gentoo.org>2018-05-01 21:35:10 +0200
commit6c71292d31936be52090f122e54f9410c5b2346b (patch)
treeb0f2fa31a28e3616b7268552ad6e8efd6c1c1eca /games-rpg/draci-historie
parentgames-rpg/draci-historie: Stop using games.eclass (diff)
downloadgentoo-6c71292d31936be52090f122e54f9410c5b2346b.tar.gz
gentoo-6c71292d31936be52090f122e54f9410c5b2346b.tar.bz2
gentoo-6c71292d31936be52090f122e54f9410c5b2346b.zip
games-rpg/draci-historie: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-rpg/draci-historie')
-rw-r--r--games-rpg/draci-historie/draci-historie-2012.ebuild76
1 files changed, 0 insertions, 76 deletions
diff --git a/games-rpg/draci-historie/draci-historie-2012.ebuild b/games-rpg/draci-historie/draci-historie-2012.ebuild
deleted file mode 100644
index 4b04995622b4..000000000000
--- a/games-rpg/draci-historie/draci-historie-2012.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit unpacker eutils games
-
-DESCRIPTION="Bert the little dragon searches for his father"
-HOMEPAGE="http://www.ucw.cz/draci-historie/index-en.html"
-BASE_URL="http://www.ucw.cz/draci-historie/binary/dh"
-SRC_URI="l10n_cs? ( ${BASE_URL}-cz-${PV}.zip )
- l10n_de? ( ${BASE_URL}-de-${PV}.zip )
- l10n_en? ( ${BASE_URL}-en-${PV}.zip )
- l10n_pl? ( ${BASE_URL}-pl-${PV}.zip )
- !l10n_cs? ( !l10n_de? ( !l10n_en? ( !l10n_pl? ( ${BASE_URL}-en-${PV}.zip ) ) ) )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="l10n_cs l10n_de l10n_en l10n_pl"
-
-RDEPEND=">=games-engines/scummvm-1.1"
-DEPEND="$(unpacker_src_uri_depends)"
-
-S=${WORKDIR}
-
-src_unpack() {
- if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then
- mkdir en || die
- unpacker dh-en-${PV}.zip
- mv *.{dfw,fon,mid,sam} en/ || die
- fi
- if use l10n_cs ; then
- mkdir cs || die
- unpacker dh-cz-${PV}.zip
- mv *.{dfw,fon,mid,sam,zzz} cs/ || die
- fi
- if use l10n_de ; then
- mkdir de || die
- unpacker dh-de-${PV}.zip
- mv *.{dfw,fon,mid,sam} de/ || die
- fi
- if use l10n_pl ; then
- mkdir pl || die
- unpacker dh-pl-${PV}.zip
- mv *.{dfw,fon,mid,sam,zzz} pl/ || die
- fi
-}
-
-src_prepare() {
- rm -f *.{bat,exe,ins} readme.* || die
-}
-
-src_install() {
- newicon bert.ico draci-historie.ico
- insinto "${GAMES_DATADIR}"/${PN}
- for lingua in $(find * -type d); do
- doins -r ${lingua}
- done
- if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then
- games_make_wrapper draci-historie-en "scummvm -f -p \"${GAMES_DATADIR}/${PN}/en\" draci" .
- make_desktop_entry ${PN}-en "Dračí Historie (English)" /usr/share/pixmaps/draci-historie.ico
- fi
- if use l10n_cs ; then
- games_make_wrapper draci-historie-cs "scummvm -f -p \"${GAMES_DATADIR}/${PN}/cs\" draci" .
- make_desktop_entry ${PN}-cs "Dračí Historie (Čeština)" /usr/share/pixmaps/draci-historie.ico
- fi
- if use l10n_de ; then
- games_make_wrapper draci-historie-de "scummvm -f -p \"${GAMES_DATADIR}/${PN}/de\" draci" .
- make_desktop_entry ${PN}-de "Dračí Historie (Deutsch)" /usr/share/pixmaps/draci-historie.ico
- fi
- if use l10n_pl ; then
- games_make_wrapper draci-historie-pl "scummvm -f -p \"${GAMES_DATADIR}/${PN}/pl\" draci" .
- make_desktop_entry ${PN}-pl "Dračí Historie (Polski)" /usr/share/pixmaps/draci-historie.ico
- fi
- prepgamesdirs
-}