summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-05-02 20:29:23 +0200
committerPacho Ramos <pacho@gentoo.org>2018-05-02 21:27:59 +0200
commitef271ff83bfbbfa450f74c09424ff672615802a0 (patch)
tree9a72263e48f7a0690e958bd76504cda4065a81d1 /games-strategy
parentgames-strategy/liquidwar: Drop old (diff)
downloadgentoo-ef271ff83bfbbfa450f74c09424ff672615802a0.tar.gz
gentoo-ef271ff83bfbbfa450f74c09424ff672615802a0.tar.bz2
gentoo-ef271ff83bfbbfa450f74c09424ff672615802a0.zip
games-strategy/majesty-demo: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild b/games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..7a9bb85b31a9
--- /dev/null
+++ b/games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils unpacker
+
+DESCRIPTION="Control your own kingdom in this simulation"
+HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=8&"
+SRC_URI="http://ftp2.za.freebsd.org/pub/FreeBSD/ports/distfiles/majesty_demo.run"
+
+LICENSE="MAJESTY-DEMO"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="bindist strip"
+
+RDEPEND="
+ sys-libs/glibc
+ x11-libs/libX11[abi_x86_32(-)]
+ x11-libs/libXext[abi_x86_32(-)]
+ x11-libs/libXau[abi_x86_32(-)]
+ x11-libs/libXdmcp[abi_x86_32(-)]
+"
+DEPEND=""
+
+S="${WORKDIR}"
+
+dir="/opt/${PN}"
+Ddir="${D}/${dir}"
+QA_PREBUILT="${dir:1}/maj_demo"
+
+src_install() {
+ einstalldocs
+ insinto "${dir}"
+ exeinto "${dir}"
+ doins -r data quests
+ doins majesty.{bmp,xpm} majestysite.url
+ newicon majesty.xpm majesty-demo.xpm
+ # only installing the static version for now
+ doexe bin/Linux/x86/maj_demo
+ make_wrapper maj_demo ./maj_demo "${dir}" "${dir}"
+ make_desktop_entry maj_demo "Majesty (Demo)"
+}