summaryrefslogtreecommitdiff
path: root/games-arcade/barbarian-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/barbarian-bin
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/barbarian-bin')
-rw-r--r--games-arcade/barbarian-bin/Manifest3
-rw-r--r--games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild47
-rw-r--r--games-arcade/barbarian-bin/metadata.xml8
3 files changed, 58 insertions, 0 deletions
diff --git a/games-arcade/barbarian-bin/Manifest b/games-arcade/barbarian-bin/Manifest
new file mode 100644
index 000000000000..e8b6478ba6fb
--- /dev/null
+++ b/games-arcade/barbarian-bin/Manifest
@@ -0,0 +1,3 @@
+DIST barbarian101_linux.zip 925199 BLAKE2B d8552b7fb03836ec75943b5b754489c345c70c9534301f16a64cdd21ea262fcff19ae6916bcd469b26dd088676079df2190bda369ca085d6c4285d84ebc12616 SHA512 9b46c75666359ed5102a89d29e8b6afacf07ccfa6175f6df27b5acc48b0e0119106f1c1376b124ff761d373bf04145e804659b81503b2834ba09ac05fad5c4f4
+EBUILD barbarian-bin-1.01-r1.ebuild 1242 BLAKE2B 41a093a2be3ede578059fedaf70cc979efc8fc55d4b3c4c9cf93c1134d27916411b405167ca633251da04b5d2097f7dc643a7acb5e9a1fa70cec2c1742e866ad SHA512 97e5d5d20421f666ccd9aa9bf162a649fe2b04202fe0559e6d41052c1eae993d452f78060ee99638fe647cf7cb6a230e96b79a95a2e84dec4259d9967880b8b7
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild b/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild
new file mode 100644
index 000000000000..555f99dd3acb
--- /dev/null
+++ b/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+MY_PN=${PN/-bin/}
+DESCRIPTION="Save Princess Mariana through one-on-one battles with demonic barbarians"
+HOMEPAGE="http://www.tdbsoft.com/"
+SRC_URI="http://www.pcpages.com/tomberrr/downloads/${MY_PN}${PV/./}_linux.zip"
+
+LICENSE="CC-BY-NC-ND-2.0"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="strip"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="sys-libs/libstdc++-v3:5
+ amd64? ( sys-libs/libstdc++-v3:5[multilib] )
+ >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]"
+
+game_dest="${GAMES_PREFIX_OPT}/${MY_PN}"
+QA_PREBUILT="${game_dest:1}/Barbarian"
+
+S=${WORKDIR}
+
+src_install() {
+ dodir "${game_dest}"
+ cp -r gfx sounds "${D}${game_dest}/" || die
+
+ exeinto "${game_dest}"
+ doexe Barbarian
+
+ dohtml Barbarian.html
+
+ games_make_wrapper barbarian ./Barbarian "${game_dest}"
+
+ # High-score file
+ dodir "${GAMES_STATEDIR}"
+ touch "${D}${GAMES_STATEDIR}/heroes.hoh"
+ fperms 660 "${GAMES_STATEDIR}/heroes.hoh"
+ dosym "${GAMES_STATEDIR}/heroes.hoh" "${game_dest}/heroes.hoh"
+ newicon gfx/sprites/player_attack_2_1.bmp barbarian.bmp
+ make_desktop_entry barbarian "Barbarian" /usr/share/pixmaps/barbarian.bmp
+ prepgamesdirs
+}
diff --git a/games-arcade/barbarian-bin/metadata.xml b/games-arcade/barbarian-bin/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-arcade/barbarian-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>