diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-rpg/drascula/drascula-1.0-r3.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-rpg/drascula/drascula-1.0-r3.ebuild')
-rw-r--r-- | games-rpg/drascula/drascula-1.0-r3.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/games-rpg/drascula/drascula-1.0-r3.ebuild b/games-rpg/drascula/drascula-1.0-r3.ebuild new file mode 100644 index 000000000000..f058ca3b8da3 --- /dev/null +++ b/games-rpg/drascula/drascula-1.0-r3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +INT_PV="1.1" +INT_URI="mirror://sourceforge/scummvm/drascula-int-${INT_PV}.zip" +DAT_PV="2.0.0" +AUD_PV="2.0" + +DESCRIPTION="Drascula: The Vampire Strikes Back" +HOMEPAGE="http://www.alcachofasoft.com/" +SRC_URI="mirror://sourceforge/scummvm/drascula-${PV}.zip + https://github.com/scummvm/scummvm/raw/v${DAT_PV}/dists/engine-data/drascula.dat -> drascula-${DAT_PV}.dat + sound? ( mirror://sourceforge/scummvm/drascula-audio-${AUD_PV}.zip ) + https://salsa.debian.org/games-team/drascula/raw/master/debian/icons/drascula.png + l10n_es? ( ${INT_URI} ) + l10n_de? ( ${INT_URI} ) + l10n_fr? ( ${INT_URI} ) + l10n_it? ( ${INT_URI} )" + +LICENSE="drascula" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="l10n_es l10n_de l10n_fr l10n_it +sound" +RESTRICT="mirror" + +RDEPEND=">=games-engines/scummvm-0.13.1" +DEPEND="${RDEPEND} + app-arch/unzip +" + +S="${WORKDIR}" + +src_unpack() { + if use l10n_es || use l10n_de || use l10n_fr || use l10n_it; then + unpack drascula-int-${INT_PV}.zip + fi + if use sound; then + unpack drascula-audio-${AUD_PV}.zip + fi + unpack drascula-${PV}.zip +} + +src_install() { + local lang + + make_wrapper ${PN} "scummvm -f -p \"/usr/share/${PN}\" drascula" . + for lang in es de fr it; do + if use l10n_${lang} ; then + make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"/usr/share/${PN}\" drascula" . + make_desktop_entry ${PN}-${lang} "Drascula: The Vampire Strikes Back (${lang})" ${PN} + fi + done + insinto /usr/share/${PN} + find . -name "P*.*" -execdir doins '{}' + + newins "${DISTDIR}"/drascula-${DAT_PV}.dat drascula.dat + if use sound; then + doins audio/* + fi + dodoc readme.txt drascula.doc + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} "Drascula: The Vampire Strikes Back" +} |