diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-08-01 22:11:59 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-08-01 22:11:59 +0200 |
commit | b8658e19e5694925e0464c263b71536db25f2d56 (patch) | |
tree | e859670ad8df5e34cf6196af0ce4b914eabcb247 /games-rpg/bass/bass-1.3-r1.ebuild | |
parent | dev-libs/mongo-c-driver: bump to 1.11.0 (diff) | |
download | gentoo-b8658e19e5694925e0464c263b71536db25f2d56.tar.gz gentoo-b8658e19e5694925e0464c263b71536db25f2d56.tar.bz2 gentoo-b8658e19e5694925e0464c263b71536db25f2d56.zip |
games-rpg/bass: Provide CD version too
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'games-rpg/bass/bass-1.3-r1.ebuild')
-rw-r--r-- | games-rpg/bass/bass-1.3-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/games-rpg/bass/bass-1.3-r1.ebuild b/games-rpg/bass/bass-1.3-r1.ebuild new file mode 100644 index 000000000000..57359be0e1bf --- /dev/null +++ b/games-rpg/bass/bass-1.3-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop eutils + +DESCRIPTION="Beneath a Steel Sky: a SciFi thriller set in a bleak vision of the future" +HOMEPAGE="https://en.wikipedia.org/wiki/Beneath_a_Steel_Sky" + +CD_VERSION="1.2" +SRC_URI="http://downloads.sourceforge.net/scummvm/BASS-Floppy-${PV}.zip + http://downloads.sourceforge.net/scummvm/bass-cd-${CD_VERSION}.zip + mirror://gentoo/${PN}.png" + +LICENSE="bass" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=games-engines/scummvm-0.5.0" +DEPEND="${RDEPEND} + app-arch/unzip +" + +S="${WORKDIR}/" + +src_install() { + dobin "${FILESDIR}"/scummvmGetLang.sh + + insinto /usr/share/${PN} + doins sky.* + mv bass-cd-"${CD_VERSION}"/readme.txt readme-cd.txt + doins -r bass-cd-"${CD_VERSION}"/ + + make_wrapper bass "scummvm -f -p \"/usr/share/${PN}\" -q\$(scummvmGetLang.sh) sky" . + make_wrapper bass-cd "scummvm -f -p \"/usr/share/${PN}/bass-cd-${CD_VERSION}\" -q\$(scummvmGetLang.sh) sky" . + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} "Beneath a Steel Sky (Floppy version)" + make_desktop_entry ${PN}-cd "Beneath a Steel Sky (CD version)" + + dodoc readme*.txt +} |