summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-13 08:39:22 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-13 08:39:22 +0000
commit0b241d25ca835fcec7a85b8cc4031b556b02285c (patch)
tree5eabcc1696e22ec46ea1f88a10f4419a821a87f4 /games-arcade/barbarian-bin
parentorig for games-arcade/barbarian-bin (diff)
downloadgentoo-2-0b241d25ca835fcec7a85b8cc4031b556b02285c.tar.gz
gentoo-2-0b241d25ca835fcec7a85b8cc4031b556b02285c.tar.bz2
gentoo-2-0b241d25ca835fcec7a85b8cc4031b556b02285c.zip
initial commit - ebuild by Alexandru Toma via bug #60524
Diffstat (limited to 'games-arcade/barbarian-bin')
-rw-r--r--games-arcade/barbarian-bin/ChangeLog10
-rw-r--r--games-arcade/barbarian-bin/Manifest2
-rw-r--r--games-arcade/barbarian-bin/barbarian-bin-1.01.ebuild42
-rw-r--r--games-arcade/barbarian-bin/files/digest-barbarian-bin-1.011
-rw-r--r--games-arcade/barbarian-bin/metadata.xml5
5 files changed, 60 insertions, 0 deletions
diff --git a/games-arcade/barbarian-bin/ChangeLog b/games-arcade/barbarian-bin/ChangeLog
new file mode 100644
index 000000000000..246a1706880f
--- /dev/null
+++ b/games-arcade/barbarian-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/barbarian-bin
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/barbarian-bin/ChangeLog,v 1.1 2004/12/13 08:39:22 mr_bones_ Exp $
+
+*barbarian-bin-1.01 (13 Dec 2004)
+
+ 13 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +barbarian-bin-1.01.ebuild:
+ initial commit - ebuild by Alexandru Toma via bug #60524
+
diff --git a/games-arcade/barbarian-bin/Manifest b/games-arcade/barbarian-bin/Manifest
new file mode 100644
index 000000000000..f827910723df
--- /dev/null
+++ b/games-arcade/barbarian-bin/Manifest
@@ -0,0 +1,2 @@
+MD5 ed109ee7772f088fbd896adf163fda46 barbarian-bin-1.01.ebuild 1053
+MD5 cec2934dd3a5320912478e9ad5019325 files/digest-barbarian-bin-1.01 67
diff --git a/games-arcade/barbarian-bin/barbarian-bin-1.01.ebuild b/games-arcade/barbarian-bin/barbarian-bin-1.01.ebuild
new file mode 100644
index 000000000000..dab1004ef0a3
--- /dev/null
+++ b/games-arcade/barbarian-bin/barbarian-bin-1.01.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/barbarian-bin/barbarian-bin-1.01.ebuild,v 1.1 2004/12/13 08:39:22 mr_bones_ Exp $
+
+inherit games
+
+MY_PN=${PN/-bin/}
+DESCRIPTION="Save Princess Mariana through one-on-one battles with demonic barbarians."
+HOMEPAGE="http://members.home.nl/tdbsoft/"
+SRC_URI="http://www.pcpages.com/tomberrr/downloads/${MY_PN}${PV/./}_linux.zip"
+
+LICENSE="CCPL-Attribution-NonCommercial-NoDerivs-2.0"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=media-libs/libsdl-1.2"
+
+S="${WORKDIR}"
+
+src_install() {
+ local game_dest="${GAMES_PREFIX_OPT}/${MY_PN}"
+
+ dodir "${game_dest}"
+ cp -r gfx sounds "${D}${game_dest}/" || die "cp gfx sounds failed"
+
+ exeinto "${game_dest}"
+ doexe Barbarian || die "doexe failed"
+
+ dohtml Barbarian.html || die "dohtml failed"
+
+ 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"
+
+ prepgamesdirs
+}
diff --git a/games-arcade/barbarian-bin/files/digest-barbarian-bin-1.01 b/games-arcade/barbarian-bin/files/digest-barbarian-bin-1.01
new file mode 100644
index 000000000000..8866683b1377
--- /dev/null
+++ b/games-arcade/barbarian-bin/files/digest-barbarian-bin-1.01
@@ -0,0 +1 @@
+MD5 44ebeb2362172dba311bd75c4fe5ded3 barbarian101_linux.zip 925199
diff --git a/games-arcade/barbarian-bin/metadata.xml b/games-arcade/barbarian-bin/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/barbarian-bin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>