summaryrefslogtreecommitdiff
path: root/games-arcade/cosmosmash
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/cosmosmash')
-rw-r--r--games-arcade/cosmosmash/Manifest1
-rw-r--r--games-arcade/cosmosmash/cosmosmash-1.4.7.ebuild37
-rw-r--r--games-arcade/cosmosmash/metadata.xml9
3 files changed, 47 insertions, 0 deletions
diff --git a/games-arcade/cosmosmash/Manifest b/games-arcade/cosmosmash/Manifest
new file mode 100644
index 00000000000..bce3b2a91b0
--- /dev/null
+++ b/games-arcade/cosmosmash/Manifest
@@ -0,0 +1 @@
+DIST cosmosmash-1.4.7.tar.gz 906213 SHA256 3f0af3355e31fef9413d3c318f02b64ad6c427f0048d6e15868e51a5ac22b14b SHA512 1eaf8b05550c6f96e6392f6ba4565700cd4a9cac66dd57d634569caf9b4dfaf4917b3b9973153d4e6e0ddcd65c68d5242faae7c4f516c07c2e07d1b2f3b838b9 WHIRLPOOL 7234288c3e6a90b5625e203c221e7c662ac6ef7968134c6c1f963d6405812bfbef986179db93c1914010406e1f02312f3059a9722214324f41a2ddbd33c2b668
diff --git a/games-arcade/cosmosmash/cosmosmash-1.4.7.ebuild b/games-arcade/cosmosmash/cosmosmash-1.4.7.ebuild
new file mode 100644
index 00000000000..758438090ba
--- /dev/null
+++ b/games-arcade/cosmosmash/cosmosmash-1.4.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools games
+
+DESCRIPTION="A space rock shooting video game"
+HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/cosmosmash.html"
+SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+RESTRICT="test" # uses the sound card which portage user might not be available.
+
+RDEPEND=">=dev-games/flatzebra-0.1.6"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
+ -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
+ -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \
+ src/Makefile.am \
+ || die
+ eautoreconf
+}
+
+src_install() {
+ emake -C src DESTDIR="${D}" install
+ doman doc/${PN}.6
+ dodoc AUTHORS NEWS README THANKS
+ prepgamesdirs
+}
diff --git a/games-arcade/cosmosmash/metadata.xml b/games-arcade/cosmosmash/metadata.xml
new file mode 100644
index 00000000000..112b2c3dc17
--- /dev/null
+++ b/games-arcade/cosmosmash/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription lang="en">
+Afternoon Stalker, a clone of the 1981 Night Stalker video game by Mattel
+Electronics.
+</longdescription>
+</pkgmetadata>