summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/adom')
-rw-r--r--games-roguelike/adom/Manifest1
-rw-r--r--games-roguelike/adom/adom-1.1.1-r1.ebuild37
-rw-r--r--games-roguelike/adom/metadata.xml5
3 files changed, 43 insertions, 0 deletions
diff --git a/games-roguelike/adom/Manifest b/games-roguelike/adom/Manifest
new file mode 100644
index 00000000000..0c636fb6eb5
--- /dev/null
+++ b/games-roguelike/adom/Manifest
@@ -0,0 +1 @@
+DIST adom-111-elf.tar.gz 1001683 SHA256 3200e814c6c70f1a3ecb6e82651803db2f837c2b398ca597c7ddffea773438bb SHA512 7b1d8916f66273b4ab06edd2d77c30e2edce827d346451d83c677af32492c40e5c578a8450ab3cc9be7888a0052a0960306e97db408e8581700c71c1b480b128 WHIRLPOOL 65d3df96bbab1af8d4110fc130f197eb715eb8d52e67390ff49340c9d88ea6238335bc089cf99972c4f7598605d5acaa6d929257ebf7b6752e89df3268fc13d9
diff --git a/games-roguelike/adom/adom-1.1.1-r1.ebuild b/games-roguelike/adom/adom-1.1.1-r1.ebuild
new file mode 100644
index 00000000000..af8ecd1eb25
--- /dev/null
+++ b/games-roguelike/adom/adom-1.1.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Ancient Domains Of Mystery rogue-like game"
+HOMEPAGE="http://www.adom.de/"
+SRC_URI="http://www.adom.de/adom/download/linux/${P//.}-elf.tar.gz"
+
+LICENSE="adom"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+RESTRICT="strip" #bug #137340
+QA_FLAGS_IGNORED="${GAMES_PREFIX_OPT:1}/bin/adom"
+
+RDEPEND=">=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]"
+
+S=${WORKDIR}/${PN}
+
+src_install() {
+ exeinto "${GAMES_PREFIX_OPT}/bin"
+ doexe adom
+
+ keepdir "${GAMES_STATEDIR}/${PN}"
+ echo "${GAMES_STATEDIR}/${PN}" > adom_ds.cfg
+ insinto /etc
+ doins adom_ds.cfg
+
+ edos2unix adomfaq.txt
+ dodoc adomfaq.txt manual.doc readme.1st
+
+ prepgamesdirs
+ fperms g+w "${GAMES_STATEDIR}/${PN}"
+}
diff --git a/games-roguelike/adom/metadata.xml b/games-roguelike/adom/metadata.xml
new file mode 100644
index 00000000000..d3c2cc926f0
--- /dev/null
+++ b/games-roguelike/adom/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>