summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen2014-06-29 00:32:11 +0200
committereroen2014-06-29 00:32:11 +0200
commitcca1c90733f2c44fd8cc831a00faab32b09ed10d (patch)
tree2d276ff60b406a3200d649a0e07a3446f743da7d
parent822611c8d2e52bef8889561e89a24df392f17ab6 (diff)
downloaderoen-overlay-cca1c90733f2c44fd8cc831a00faab32b09ed10d.tar.gz
eroen-overlay-cca1c90733f2c44fd8cc831a00faab32b09ed10d.tar.bz2
eroen-overlay-cca1c90733f2c44fd8cc831a00faab32b09ed10d.tar.xz
unityofcommand - new ebuild
lots of bundled libs
-rw-r--r--games-strategy/unityofcommand/Manifest1
-rw-r--r--games-strategy/unityofcommand/metadata.xml4
-rw-r--r--games-strategy/unityofcommand/unityofcommand-104.ebuild48
3 files changed, 53 insertions, 0 deletions
diff --git a/games-strategy/unityofcommand/Manifest b/games-strategy/unityofcommand/Manifest
new file mode 100644
index 00000000..49c5e9fb
--- /dev/null
+++ b/games-strategy/unityofcommand/Manifest
@@ -0,0 +1 @@
+DIST Unity_of_Command_LINUX_v104d.tgz 120600222 SHA256 7594291de5428646b4a7214f561d14483e00be208cc0f5c5075cb31fd4ae4bfa SHA512 3b8dfa23fd4b942105fb5a5cd9ed50f36f8e5d7f8c102efd8db26c028a271a6492c5d1be4503f7b7ae47d32da6b5ce827b0062300f277fe4a939cfc997dc1295 WHIRLPOOL 2c3c5e37d0ac9ec2f714bdb42d51454edc2dea803df8e25500223e6c658ca6d0350f9422a5397a6c418284f28340d2508d5c243afae43d937e3ffdc35dbe6adc
diff --git a/games-strategy/unityofcommand/metadata.xml b/games-strategy/unityofcommand/metadata.xml
new file mode 100644
index 00000000..097975e3
--- /dev/null
+++ b/games-strategy/unityofcommand/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>
diff --git a/games-strategy/unityofcommand/unityofcommand-104.ebuild b/games-strategy/unityofcommand/unityofcommand-104.ebuild
new file mode 100644
index 00000000..8a29715f
--- /dev/null
+++ b/games-strategy/unityofcommand/unityofcommand-104.ebuild
@@ -0,0 +1,48 @@
+# By eroen, 2014
+# Distributed under the terms of the ISC licence
+# $Header: $
+
+EAPI=5
+
+inherit eutils games
+
+DESCRIPTION="Operational-level wargame covering the 1942/43 Stalingrad campaign"
+HOMEPAGE="http://unityofcommand.net/"
+SRC_URI="Unity_of_Command_LINUX_v104d.tgz"
+RESTRICT="fetch mirror"
+S="${WORKDIR}/Unity of Command"
+
+LICENSE="all-rights-reserved BSD FTL LGPL-2.1 libpng MIT ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+HDEPEND=""
+LIBDEPEND="
+ sys-libs/readline
+ "
+#DEPEND="${LIBDEPEND}"
+RDEPEND="${LIBDEPEND}"
+[[ ${EAPI} == *-hdepend ]] || DEPEND+=" ${HDEPEND}"
+
+MY_PREFIX=${GAMES_PREFIX_OPT}/${P}
+#QA_PREBUILT=${MY_PREFIX#/}/bin/\*
+
+pkg_nofetch() {
+ elog "Please download ${SRC_URI}"
+ elog "from ${HOMEPAGE} or http://humblebundle.com"
+ elog "and place it in ${DISTDIR}"
+}
+
+src_prepare() {
+ rm -r license/ || die
+}
+
+src_install() {
+ insinto "${MY_PREFIX}"
+ doins -r *
+ # Creates fontconfig crap in CWD if writeable, falls back to ~/.fontconfig/
+ games_make_wrapper ${P} bin/uoc "${MY_PREFIX}" "${MY_PREFIX}/bin"
+ prepgamesdirs
+ chmod 750 "${D%/}/${MY_PREFIX}"/bin/uoc || die
+}