summaryrefslogtreecommitdiff
path: root/games-arcade/batrachians
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/batrachians')
-rw-r--r--games-arcade/batrachians/Manifest6
-rw-r--r--games-arcade/batrachians/batrachians-0.1.6.ebuild44
-rw-r--r--games-arcade/batrachians/files/batrachians-0.1.6-makefile.patch35
-rw-r--r--games-arcade/batrachians/metadata.xml12
4 files changed, 97 insertions, 0 deletions
diff --git a/games-arcade/batrachians/Manifest b/games-arcade/batrachians/Manifest
new file mode 100644
index 000000000000..5445467ad342
--- /dev/null
+++ b/games-arcade/batrachians/Manifest
@@ -0,0 +1,6 @@
+AUX batrachians-0.1.6-makefile.patch 1083 SHA256 641f9be5fe4806ab54f2e9adc5d06a631dcd48f841ef193996f864b65c38b30d SHA512 9fb3d84f864b7cad0ace0e288969871824cae110f879ba8fe512969c7b1aef370c375bde57caedf5bf2bc7e5f00a9f2819fdc7de6d710c989bb474382a84e77a WHIRLPOOL aeb77ac8237a5cfbdeb962f5533caa41eafb8c3f9154dd2893e59711a008427b3870a024f5ad69959542a7223bca436fb9e97209db2473cb25c2e6730d5beaad
+DIST batrachians-0.1.6.tar.gz 198088 SHA256 6511a939e9b3e0c5d0683f2a33389e6da9ff4d9c15e1d27ebcc4e2ba55868e18 SHA512 d3022712627061f9828e1f3baa7207053884f1f4c0348768d4ac073673ff1bcf14c95cedf01031b8bd36a6b684bf239af0f381df41aa18d49218320a8bea3b68 WHIRLPOOL 100d31b7153575507fb88e1e97b9df2606158391d2dba1e8ba7bfc549eda778f82c026be6352495784a4cb016261db52e1ac0854afc0463afc32e22bbef2e70f
+EBUILD batrachians-0.1.6.ebuild 824 SHA256 4431962b9f9d80229d2b041b14b3464752ee0a7c372c09da278d5bc20845710f SHA512 b800203280cb468108db459bdf7e49a7e73ef021947ce5ac283c6beb47d27e3cbfcfa69fc1eb87e375a4c60c8a663502b70fa51e3a4ca77bbfb067ca1c9e23a2 WHIRLPOOL 83acb2ab40be902e7d089b7a82c5cb60662d54258ad565b1df711a9bd8f5a006e81430df8f4ed2cab1ec70d2da40dd0607e1b3e3299f81f81a35cdf85afee0b0
+MISC ChangeLog 2486 SHA256 862503323a189e66ce9203bc201d7985a264f4cbf65269d23a4c71a03d42a017 SHA512 180a02a9f0218d8a9541918be0c3c60393cea28664dd2ff639570d2335b573b4e5508e7a2f368a35e7069466b4cd529a138f3d8a0f62715c6697e3a61a495cde WHIRLPOOL df43c755bd8bef57d9f762440275fa6a0b0d9c7d34e444e72b26f22359e6844c950572fb7931a76838090aaac75df34673712474e14dc4529023e0c60dd38d77
+MISC ChangeLog-2015 1788 SHA256 56954120fba07e13d7d86ef55d4810ce4158000c1714b33ceefbdda9a658cc52 SHA512 b8ac72144625c8c98c0fb946216631d7bb57c3168c1c450c121af0dd1afc6a02bdc4397c8bbb9e6530eca72738b8fcb02408ab5867413dd84de5893b09c16c91 WHIRLPOOL 183aec41052796f550531cf466d9be811af531305234b582bedafea3f688f516deef08a0515d693b167ec40d4549cc613ba039d96d911c1e3da7d1ca159d1bbd
+MISC metadata.xml 383 SHA256 e5557c7da63f90ccc5c582972d501a020d7485a522859b244f80a4ccd082a688 SHA512 6ac1eca021c30af55b915f3d34d180ad429f9f16e7e942b3853d8f77f0ba82fa8bf97439209414e7541b0c0bfba29b49b1efc143e690ae7f8dbffd1fcaae9986 WHIRLPOOL 3784c1ef2f80e94953e0633d330ff7b1bead1d34cd8d052ce1f3ba71a62a04bf2ff67189b99927f6b4c64295055793b210d144b73cf8f7493bac075f5a5e1b74
diff --git a/games-arcade/batrachians/batrachians-0.1.6.ebuild b/games-arcade/batrachians/batrachians-0.1.6.ebuild
new file mode 100644
index 000000000000..4517fed93f6d
--- /dev/null
+++ b/games-arcade/batrachians/batrachians-0.1.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils gnome2-utils games
+
+DESCRIPTION="A fly-eating frog video game"
+HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/batrachians.html"
+SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-games/flatzebra-0.1.5"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ eautoreconf
+}
+
+src_install() {
+ emake -C src DESTDIR="${D}" install
+ doman doc/${PN}.6
+ dodoc AUTHORS NEWS README THANKS
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-arcade/batrachians/files/batrachians-0.1.6-makefile.patch b/games-arcade/batrachians/files/batrachians-0.1.6-makefile.patch
new file mode 100644
index 000000000000..f01fdfb0da8d
--- /dev/null
+++ b/games-arcade/batrachians/files/batrachians-0.1.6-makefile.patch
@@ -0,0 +1,35 @@
+diff -ru batrachians-0.1.6.orig/src/Makefile.am batrachians-0.1.6/src/Makefile.am
+--- batrachians-0.1.6.orig/src/Makefile.am 2011-04-18 21:25:53.000000000 -0400
++++ batrachians-0.1.6/src/Makefile.am 2014-10-27 23:19:58.292260669 -0400
+@@ -20,7 +20,7 @@
+ -DPACKAGE_FULL_NAME_EN=\"$(PACKAGE_FULL_NAME_EN)\" \
+ -DPKGSOUNDDIR=\"$(pkgsounddir)\"
+
+-pkgsounddir = $(datadir)/sounds/$(PACKAGE)
++pkgsounddir = $(datadir)/$(PACKAGE)/sounds
+ pkgsound_DATA = \
+ sounds/game-starts.wav \
+ sounds/game-ends.wav \
+@@ -29,18 +29,18 @@
+ sounds/frog-jumps.wav \
+ sounds/tongue-out.wav
+
+-desktopentrydir = $(datadir)/applications
++desktopentrydir =/usr/share/applications
+ desktopentry_DATA = $(PACKAGE).desktop
+
+-pixmapdir = $(datadir)/pixmaps
++pixmapdir =/usr/share/icons/hicolor/48x48/apps/
+ pixmap_DATA = images/$(PACKAGE).png
+
+
+ check: all
+ if HAVE_GETOPT_LONG
+ test "`./$(PACKAGE) --version`" = "$(PACKAGE) $(VERSION)"
+- ./$(PACKAGE) --version >& /dev/null
+- ./$(PACKAGE) --help >& /dev/null
++ ./$(PACKAGE) --version > /dev/null 2>&1
++ ./$(PACKAGE) --help > /dev/null 2>&1
+ endif
+
+
diff --git a/games-arcade/batrachians/metadata.xml b/games-arcade/batrachians/metadata.xml
new file mode 100644
index 000000000000..418dc79f8c64
--- /dev/null
+++ b/games-arcade/batrachians/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+<longdescription lang="en">
+Afternoon Stalker, a clone of the 1981 Night Stalker video game by Mattel
+Electronics.
+</longdescription>
+</pkgmetadata>