summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <mva@mva.name>2013-03-16 14:09:59 +0700
committerVadim A. Misbakh-Soloviov <mva@mva.name>2013-03-16 14:09:59 +0700
commit1933a634f97e53c63918a917b82091d0bcee6c1d (patch)
treeea82d80b437a3059fdb4492b9a7be2d2b6148ba0 /games-rpg
parent[games-puzzle/osmos] move to EAPI5, some fixes (diff)
downloadgamerlay-1933a634f97e53c63918a917b82091d0bcee6c1d.tar.gz
gamerlay-1933a634f97e53c63918a917b82091d0bcee6c1d.tar.bz2
gamerlay-1933a634f97e53c63918a917b82091d0bcee6c1d.zip
[games-rpg/avadon] Added
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/avadon/Manifest1
-rw-r--r--games-rpg/avadon/avadon-1.0.ebuild105
-rw-r--r--games-rpg/avadon/metadata.xml10
3 files changed, 116 insertions, 0 deletions
diff --git a/games-rpg/avadon/Manifest b/games-rpg/avadon/Manifest
new file mode 100644
index 0000000..2d9ec87
--- /dev/null
+++ b/games-rpg/avadon/Manifest
@@ -0,0 +1 @@
+DIST avadon-linux-1331768904-bin 109767395 SHA256 1619401aa42abe055b3eabf8b63d4ada3ce55affb054d0d6a6da09affe1c76fe SHA512 7c1acbb1ce3bbfb33052454c9b93060fa97b13fbf4202ee2bb0d70fb59423efc05dfe0bca07cce1e711af9f2757b79c590f237dea5f92aa11aa5979c35d018a7 WHIRLPOOL 751b5ce976a0dcb23065786d5078a32468c0f9a7a1df8eac6884923ad244996c43b7ad25044ee5fd7f680bcaa78982add53b9e248c5794f1c647309c5dbf2afc
diff --git a/games-rpg/avadon/avadon-1.0.ebuild b/games-rpg/avadon/avadon-1.0.ebuild
new file mode 100644
index 0000000..9abd395
--- /dev/null
+++ b/games-rpg/avadon/avadon-1.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit games
+
+TS="1331768904"
+MY_PN="Avadon"
+
+DESCRIPTION="Epic fantasy role-playing adventure in an enormous and unique world."
+HOMEPAGE="http://www.spidweb.com/avadon/"
+SRC_URI="${PN}-linux-${TS}-bin"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+RESTRICT="strip fetch"
+
+DEPEND="app-arch/unzip"
+RDEPEND="
+ amd64? (
+ media-libs/libsdl
+ media-libs/openal
+ media-libs/alsa-lib
+ media-sound/pulseaudio
+ media-libs/aalib
+ dev-libs/json-c
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXtst
+ media-libs/libsndfile
+ media-libs/flac
+ media-libs/libvorbis
+ media-libs/libogg
+ net-libs/libasyncns
+ sys-apps/dbus
+ sys-libs/gdbm
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ )
+ x86? (
+ media-libs/libsdl
+ media-libs/openal
+ media-libs/alsa-lib
+ media-sound/pulseaudio
+ dev-libs/json-c
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXtst
+ media-libs/libsndfile
+ media-libs/flac
+ media-libs/libvorbis
+ media-libs/libogg
+ sys-libs/gdbm
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXi
+ )
+"
+
+S="${WORKDIR}/data"
+
+pkg_nofetch() {
+ echo
+ elog "Download ${SRC_URI} from ${HOMEPAGE} and place it in ${DISTDIR}"
+ echo
+}
+
+src_unpack() {
+ # self unpacking zip archive; unzip warns about the exe stuff
+ local a="${DISTDIR}/${SRC_URI}"
+ echo ">>> Unpacking ${a} to ${PWD}"
+ unzip -q "${a}"
+ [ $? -gt 1 ] && die "unpacking failed"
+
+}
+
+src_install() {
+ local GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
+ local exe="${MY_PN}-${ARCH}"
+
+ insinto "${GAMEDIR}"
+ exeinto "${GAMEDIR}"
+
+ doicon "${MY_PN}.png"
+ dodoc "README-linux.txt"
+
+ doins -r "avadon files" "icon.bmp"
+ doexe "${exe}"
+
+ games_make_wrapper "${PN}" "./${exe}" "${GAMEDIR}"
+ make_desktop_entry "${PN}" "${MY_PN}: The Black Fortress" "${PN}"
+
+ prepgamesdirs
+}
diff --git a/games-rpg/avadon/metadata.xml b/games-rpg/avadon/metadata.xml
new file mode 100644
index 0000000..0d9e0b9
--- /dev/null
+++ b/games-rpg/avadon/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>szarpaj@grubelek.pl</email>
+ <name>Piotr Szymaniak</name>
+ </maintainer>
+</pkgmetadata>
+