summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/neon-chrome')
-rw-r--r--games-roguelike/neon-chrome/Manifest2
-rw-r--r--games-roguelike/neon-chrome/metadata.xml8
-rw-r--r--games-roguelike/neon-chrome/neon-chrome-1.1.12.ebuild49
3 files changed, 59 insertions, 0 deletions
diff --git a/games-roguelike/neon-chrome/Manifest b/games-roguelike/neon-chrome/Manifest
new file mode 100644
index 000000000000..2cb7683a99f3
--- /dev/null
+++ b/games-roguelike/neon-chrome/Manifest
@@ -0,0 +1,2 @@
+DIST NeonChrome-Linux-1.1.12.tar 64140772 BLAKE2B cadda4c659b96b96c4b9b2a1dfc78152a89e53a2662f5e2dc70a0d4c98a813822d8c977deb0d6d6aeca0a2d2608cb04274c0ad33554ce27ab2ddf318499c9750 SHA512 f659bbe87f3b2933346bc17a4ccdcdc37ff8bb2db7a94dc5334db7109d64cd9f5a28b14845f767aaf1e103be826d3cd0fefc528a02df2079123094436e94f2cd
+DIST neon-chrome.png 6332 BLAKE2B 59a20952804aeb1db047deccb84cf41e532cf88e7b03e7f66df1b55b185553c5de94bad776b61b4b33856c53bec86b704cdc990a15e82dc4e66c9fb74c0e010d SHA512 fd32acda1033e12da15197f3873250e6d0b5b719b37ffc4dc48a6a233debbcd3a867028ae53d38b43043eba9ec19fba7a8286c895335aca2ee731b432dba97be
diff --git a/games-roguelike/neon-chrome/metadata.xml b/games-roguelike/neon-chrome/metadata.xml
new file mode 100644
index 000000000000..26079e608bed
--- /dev/null
+++ b/games-roguelike/neon-chrome/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>
diff --git a/games-roguelike/neon-chrome/neon-chrome-1.1.12.ebuild b/games-roguelike/neon-chrome/neon-chrome-1.1.12.ebuild
new file mode 100644
index 000000000000..854a639c00a4
--- /dev/null
+++ b/games-roguelike/neon-chrome/neon-chrome-1.1.12.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils desktop xdg-utils
+
+MY_PN="NeonChrome"
+DESCRIPTION="A ruthless top-down cyberpunk shooter with rogue-like elements"
+HOMEPAGE="https://neonchromegame.com/"
+SRC_URI="${MY_PN}-Linux-${PV}.tar
+ https://dev.gentoo.org/~chewi/distfiles/${PN}.png"
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist mirror splitdebug"
+
+RDEPEND="
+ media-libs/libsdl2[opengl,video]
+ media-libs/openal
+"
+
+S="${WORKDIR}"
+
+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}"
+ doexe ${MY_PN}
+ make_wrapper ${PN} ./${MY_PN} "${DIR}"
+
+ insinto "${DIR}"
+ doins *.pak *.xml
+
+ dodoc README.txt
+
+ doicon -s 64 "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} "Neon Chrome"
+}
+
+pkg_postinst() { xdg_icon_cache_update; }
+pkg_postrm() { xdg_icon_cache_update; }