summaryrefslogtreecommitdiff
path: root/games-simulation
diff options
context:
space:
mode:
authoreroen2016-03-29 12:53:55 +0200
committereroen2016-03-29 13:03:58 +0200
commitf0bc8a6a60244c7164317d44bb8dd479923eb36b (patch)
tree6f38d8780827b908ba63463ee77c1b19535f076d /games-simulation
parent4eedbb65700efd9424c6ff51de56f149d2946949 (diff)
downloaderoen-overlay-f0bc8a6a60244c7164317d44bb8dd479923eb36b.tar.gz
eroen-overlay-f0bc8a6a60244c7164317d44bb8dd479923eb36b.tar.bz2
eroen-overlay-f0bc8a6a60244c7164317d44bb8dd479923eb36b.tar.xz
HumanResourceMachine-2016.03.23 - new ebuild
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/HumanResourceMachine/HumanResourceMachine-2016.03.23.ebuild54
-rw-r--r--games-simulation/HumanResourceMachine/Manifest1
-rw-r--r--games-simulation/HumanResourceMachine/metadata.xml4
3 files changed, 59 insertions, 0 deletions
diff --git a/games-simulation/HumanResourceMachine/HumanResourceMachine-2016.03.23.ebuild b/games-simulation/HumanResourceMachine/HumanResourceMachine-2016.03.23.ebuild
new file mode 100644
index 00000000..028db493
--- /dev/null
+++ b/games-simulation/HumanResourceMachine/HumanResourceMachine-2016.03.23.ebuild
@@ -0,0 +1,54 @@
+# By eroen, 2016
+# Distributed under the terms of the ISC licence
+# $Header: $
+
+EAPI=5
+
+inherit eutils unpacker humblebundle
+
+DESCRIPTION="Program little office workers to solve puzzles. Be a good employee!"
+HOMEPAGE="http://tomorrowcorporation.com/humanresourcemachine"
+SRC_URI="${PN}-Linux-${PV//./-}.sh"
+RESTRICT="bindist fetch mirror"
+S=$WORKDIR
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64" # ~x86
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ media-libs/libsdl2
+ media-libs/openal"
+
+QA_PREBUILT="opt/HumanResourceMachine*"
+
+pkg_setup() {
+ use amd64 && myarch=x86_64
+ #use x86 && myarch=x86
+}
+
+src_unpack() {
+ unpack_zip $A
+}
+
+src_prepare() {
+ mv data/noarch/README.linux "$T" || die
+ rm -f data/noarch/LICENSE.txt || die
+ rm -rf meta scripts || die
+ rm -rf data/*/lib*/ || die
+ use amd64 || rm -rf data/x86_64 || die
+ use x86 || rm -rf data/x86 || die
+}
+
+src_install() {
+ insinto /opt/$PN
+ doins -r data/{noarch,$myarch}/. # executable and resources must be in same place
+ fperms +x /opt/$PN/HumanResourceMachine.bin.$myarch
+
+ make_wrapper ${PN} /opt/$PN/HumanResourceMachine.bin.$myarch /opt/$PN
+ make_desktop_entry ${PN} "Human Resource Machine" /opt/$PN/icon.png
+
+ dodoc "$T"/README.linux
+}
diff --git a/games-simulation/HumanResourceMachine/Manifest b/games-simulation/HumanResourceMachine/Manifest
new file mode 100644
index 00000000..81a86ede
--- /dev/null
+++ b/games-simulation/HumanResourceMachine/Manifest
@@ -0,0 +1 @@
+DIST HumanResourceMachine-Linux-2016-03-23.sh 69143122 SHA256 12754e4badcf2c7d1f592da2016a888cfe6878a200bbcd0f72061fab397c2d0a SHA512 f2b53d48600d07f6413209e60bc67a71bdf4ff73c94e55f38f4e2c622783c549d0146da0c15f32b469210591dad066ee41ca82e22f3cc552136f01e148ed3f02 WHIRLPOOL 44065f43fcaa3a4f4cd663142ee7b0c82f6c45bd5ceba41ab409121054379065f94af3fa5f296e65f08a8e1af52e1d2035976d690a27e2a33571a1ae138406c0
diff --git a/games-simulation/HumanResourceMachine/metadata.xml b/games-simulation/HumanResourceMachine/metadata.xml
new file mode 100644
index 00000000..097975e3
--- /dev/null
+++ b/games-simulation/HumanResourceMachine/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>