summaryrefslogtreecommitdiff
path: root/games-arcade/pycadia
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/pycadia')
-rw-r--r--games-arcade/pycadia/Manifest3
-rw-r--r--games-arcade/pycadia/metadata.xml8
-rw-r--r--games-arcade/pycadia/pycadia-0.5.1-r1.ebuild46
3 files changed, 57 insertions, 0 deletions
diff --git a/games-arcade/pycadia/Manifest b/games-arcade/pycadia/Manifest
new file mode 100644
index 000000000000..2d99ace867b0
--- /dev/null
+++ b/games-arcade/pycadia/Manifest
@@ -0,0 +1,3 @@
+DIST pycadia-0.5.1.tar.gz 2768619 BLAKE2B 688fe8e148078e990ded8870569cf844fc9817e07c5136dc0b8960d2c39a72ca66443feee08c907104bf150c3475fcc0e626833252ce6f5c12b332f483d41079 SHA512 bfe7369263f21d672800eeaf567d7dcb5027b24d2f0d0534d68ad28ae71c916eca2ebf4b2f888645c8bfce12a2ba4bf23dacf673e32a7ba76d564006bdc3e0d2
+EBUILD pycadia-0.5.1-r1.ebuild 931 BLAKE2B 845baa0416b6e911dd02a3e5024ce24bdf42d85f0835d2fa9aa1b6cd7174580d184434ffe0ec103d66f2f02d2a5633c18ce7d311195422fae7519f88348b56d0 SHA512 dd902c965088a36b63e4d6a5ac99170a90c7e5a812d96070bfeff7c5c3de7158ffdea568b1219d091aa4a22e524070e6b790fdedc917fae64769406dde98d126
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/pycadia/metadata.xml b/games-arcade/pycadia/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-arcade/pycadia/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-arcade/pycadia/pycadia-0.5.1-r1.ebuild b/games-arcade/pycadia/pycadia-0.5.1-r1.ebuild
new file mode 100644
index 000000000000..4ddccdf135a9
--- /dev/null
+++ b/games-arcade/pycadia/pycadia-0.5.1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="Pycadia. Home to vector gaming, python style"
+HOMEPAGE="http://www.anti-particle.com/pycadia.shtml"
+SRC_URI="http://www.anti-particle.com/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ >=dev-python/pygame-1.5.5
+ dev-python/pygtk:2
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ {
+ echo "#!/bin/sh"
+ echo "cd /usr/share/${PN}"
+ echo "exec python2 ./pycadia.py \"\${@}\""
+ } > "${T}/pycadia"
+}
+
+src_install() {
+ dobin "${T}/pycadia"
+
+ insinto "/usr/share/${PN}"
+ doins -r {glade,pixmaps,sounds} *.py pycadia.conf
+
+ exeinto "/usr/share/${PN}"
+ doexe pycadia.py spacewarpy.py vektoroids.py
+
+ newicon pixmaps/pysteroids.png ${PN}.png
+ make_desktop_entry ${PN} Pycadia
+
+ dodoc doc/{TODO,CHANGELOG,README}
+}