summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/avadon')
-rw-r--r--games-rpg/avadon/Manifest1
-rw-r--r--games-rpg/avadon/avadon-1.0.4.ebuild56
-rw-r--r--games-rpg/avadon/metadata.xml9
3 files changed, 66 insertions, 0 deletions
diff --git a/games-rpg/avadon/Manifest b/games-rpg/avadon/Manifest
new file mode 100644
index 000000000000..dc8d0b5c6ffa
--- /dev/null
+++ b/games-rpg/avadon/Manifest
@@ -0,0 +1 @@
+DIST avadon-black-fortress_1.0.4_all.run 109767395 SHA256 1619401aa42abe055b3eabf8b63d4ada3ce55affb054d0d6a6da09affe1c76fe SHA512 7c1acbb1ce3bbfb33052454c9b93060fa97b13fbf4202ee2bb0d70fb59423efc05dfe0bca07cce1e711af9f2757b79c590f237dea5f92aa11aa5979c35d018a7 WHIRLPOOL 751b5ce976a0dcb23065786d5078a32468c0f9a7a1df8eac6884923ad244996c43b7ad25044ee5fd7f680bcaa78982add53b9e248c5794f1c647309c5dbf2afc
diff --git a/games-rpg/avadon/avadon-1.0.4.ebuild b/games-rpg/avadon/avadon-1.0.4.ebuild
new file mode 100644
index 000000000000..fc0c87348246
--- /dev/null
+++ b/games-rpg/avadon/avadon-1.0.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils unpacker games
+
+DESCRIPTION="Epic fantasy role-playing adventure in an enormous and unique world"
+HOMEPAGE="http://www.spiderwebsoftware.com/avadon/index.html"
+SRC_URI="avadon-black-fortress_${PV}_all.run"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE=""
+RESTRICT="fetch bindist"
+
+QA_PREBUILT="${GAMES_PREFIX_OPT#/}/${PN}/Avadon*"
+
+RDEPEND="media-libs/libsdl[X,opengl,video]
+ media-libs/openal"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/data
+
+pkg_nofetch() {
+ einfo
+ einfo "Please buy & download \"${SRC_URI}\" from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move/link it to \"${DISTDIR}\""
+ einfo
+}
+
+src_unpack() {
+ unpack_zip ${A}
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ local arch=$(usex amd64 "amd64" "x86")
+
+ insinto "${dir}"
+ doins -r "avadon files" icon.bmp
+
+ exeinto "${dir}"
+ doexe Avadon-${arch}
+
+ newicon Avadon.png ${PN}.png
+ games_make_wrapper ${PN} "./Avadon-${arch}" "${dir}"
+ make_desktop_entry ${PN} "Avadon: The Black Fortress"
+
+ dodoc README-linux.txt
+
+ prepgamesdirs
+}
diff --git a/games-rpg/avadon/metadata.xml b/games-rpg/avadon/metadata.xml
new file mode 100644
index 000000000000..ee67c3092f58
--- /dev/null
+++ b/games-rpg/avadon/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>