summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-08-01 22:11:59 +0200
committerPacho Ramos <pacho@gentoo.org>2018-08-01 22:11:59 +0200
commitb8658e19e5694925e0464c263b71536db25f2d56 (patch)
treee859670ad8df5e34cf6196af0ce4b914eabcb247 /games-rpg
parentdev-libs/mongo-c-driver: bump to 1.11.0 (diff)
downloadgentoo-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')
-rw-r--r--games-rpg/bass/Manifest1
-rw-r--r--games-rpg/bass/bass-1.3-r1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/games-rpg/bass/Manifest b/games-rpg/bass/Manifest
index f8b05a25ee1..60c83753ec9 100644
--- a/games-rpg/bass/Manifest
+++ b/games-rpg/bass/Manifest
@@ -1,2 +1,3 @@
DIST BASS-Floppy-1.3.zip 7675813 BLAKE2B dbe6e110c4901ba6f1b055208b796b71ef1ab879a0266273765c8f9544065715e0535f41ecaa1cde7e02499ac5e90624eb5a42d1b82dbeee52ddba90bd1dcdd9 SHA512 d220f84448b50e1464329e204f876acc4a9eda24b319577ed74aec8e1a0316e2df268f8768ac9267b90a29a857b010bdae71e2f3c77428987f299bec3dc1ce15
+DIST bass-cd-1.2.zip 69377781 BLAKE2B 7eb59b78eda2ab1385f742189f420706aac3364dabb9263729341d1973e93b27c0509e7d22b5eb3a228400a398a82cc074adb9a601e93cfa7d7dca1f51e9d68e SHA512 ff896e723b4dbf2cc52851ee1260c1006aa285b768a727974719d63509bdac1c65be9ea565eb037d5e9e1c8fd8fd76a8c04776bcde46616ca9ccce18ea498d64
DIST bass.png 27613 BLAKE2B 1bc440055d4cfd3115e3b2768f5b88fa49eaed3f3d957b436e1e0df236fb0bc968ced18962ff9833962a1ab8a8b544e57ea10c679eb6d434c633f27956fdc489 SHA512 c0f62257f025970f51f32a7f3284cf117a091d40bbcd6c7503e8f0e8e98954cf96e35a04a4e633a04a721ff01beb7a6e0f4c883e286e477c3e065d411db4c87e
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 00000000000..57359be0e1b
--- /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
+}