summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-06-10 21:38:42 +0100
committerJames Le Cuirot <chewi@gentoo.org>2020-06-10 21:38:42 +0100
commit4203b25ea0c6fb2b71a1a32025985db731f5b5ef (patch)
treeb8813fcf70da0d9824830961b78e9257ec1feb15 /games-action/assault-android-cactus+
parentdev-python/boto: Port to py3.9, fix tests (diff)
downloadgentoo-4203b25ea0c6fb2b71a1a32025985db731f5b5ef.tar.gz
gentoo-4203b25ea0c6fb2b71a1a32025985db731f5b5ef.tar.bz2
gentoo-4203b25ea0c6fb2b71a1a32025985db731f5b5ef.zip
games-action/assault-android-cactus+: New package
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-action/assault-android-cactus+')
-rw-r--r--games-action/assault-android-cactus+/Manifest1
-rw-r--r--games-action/assault-android-cactus+/assault-android-cactus+-200507.ebuild47
-rw-r--r--games-action/assault-android-cactus+/metadata.xml8
3 files changed, 56 insertions, 0 deletions
diff --git a/games-action/assault-android-cactus+/Manifest b/games-action/assault-android-cactus+/Manifest
new file mode 100644
index 000000000000..f991712b376d
--- /dev/null
+++ b/games-action/assault-android-cactus+/Manifest
@@ -0,0 +1 @@
+DIST AssaultAndroidCactus_linux_200507.zip 1075393925 BLAKE2B 8a4284c1d6fe07e4c9aaa33b387ba561f2a34c00fd3b3f3f237dfdb652ffbab3d7271ae5d55064e96ec97935160e6e6a51ae804d5faf629a9fc08854128470d9 SHA512 d09992af6f2d019423c47a847c4e497d09201d562b2cba6ae1c631397c695ceb2a8d8f232a38bcee2badf32aceb523067fb7843c1bb13070b54a58d2b988d23c
diff --git a/games-action/assault-android-cactus+/assault-android-cactus+-200507.ebuild b/games-action/assault-android-cactus+/assault-android-cactus+-200507.ebuild
new file mode 100644
index 000000000000..c945f4d74053
--- /dev/null
+++ b/games-action/assault-android-cactus+/assault-android-cactus+-200507.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils desktop xdg
+
+MY_PN="cactus"
+DESCRIPTION="Arcade style twin stick shooter set in a vivid sci-fi universe"
+HOMEPAGE="http://www.assaultandroidcactus.com/"
+SRC_URI="AssaultAndroidCactus_linux_${PV}.zip"
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+RDEPEND="
+ sys-libs/zlib
+ virtual/opengl
+"
+
+S="${WORKDIR}/AssaultAndroidCactus_linux"
+
+DIR="/opt/${PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " https://www.humblebundle.com/store/${PN%+}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_install() {
+ exeinto "${DIR}"
+ newexe ${MY_PN}.$(usex amd64 x86_64 x86) ${MY_PN}
+ make_wrapper ${PN} "${DIR}"/${MY_PN}
+
+ insinto "${DIR}"
+ doins -r ${MY_PN}_Data/
+ rm -r "${ED}/${DIR}"/${MY_PN}_Data/*/$(usex amd64 x86 x86_64) || die
+
+ # Some Unity games have a GUI launcher but this one doesn't use it.
+ rm "${ED}/${DIR}"/${MY_PN}_Data/Plugins/*/ScreenSelector.so || die
+
+ newicon -s 128 ${MY_PN}_Data/Resources/UnityPlayer.png ${PN}.png
+ make_desktop_entry ${PN} "Assault Android Cactus+"
+}
diff --git a/games-action/assault-android-cactus+/metadata.xml b/games-action/assault-android-cactus+/metadata.xml
new file mode 100644
index 000000000000..26079e608bed
--- /dev/null
+++ b/games-action/assault-android-cactus+/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+</pkgmetadata>