summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-10-19 21:38:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-10-19 21:38:02 +0000
commit483dc3c964bd45c7d45d613c1f8fd4b5839c5b39 (patch)
treeb37aefbeff625ca737f149ffe71561519511626e /games-arcade
parentunmask app-laptop/prey www-apps/tt-rss app-misc/recoll (diff)
downloadgentoo-2-483dc3c964bd45c7d45d613c1f8fd4b5839c5b39.tar.gz
gentoo-2-483dc3c964bd45c7d45d613c1f8fd4b5839c5b39.tar.bz2
gentoo-2-483dc3c964bd45c7d45d613c1f8fd4b5839c5b39.zip
EAPI=2; add desktop file support
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/pycadia/ChangeLog7
-rw-r--r--games-arcade/pycadia/pycadia-0.5.1.ebuild26
2 files changed, 20 insertions, 13 deletions
diff --git a/games-arcade/pycadia/ChangeLog b/games-arcade/pycadia/ChangeLog
index 103f35ca8189..e11fe3524eec 100644
--- a/games-arcade/pycadia/ChangeLog
+++ b/games-arcade/pycadia/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/pycadia
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/pycadia/ChangeLog,v 1.10 2009/01/19 19:03:34 mr_bones_ Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/pycadia/ChangeLog,v 1.11 2011/10/19 21:38:02 mr_bones_ Exp $
+
+ 19 Oct 2011; Michael Sterrett <mr_bones_@gentoo.org> pycadia-0.5.1.ebuild:
+ EAPI=2; add desktop file support
19 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> pycadia-0.5.1.ebuild:
EAPI=1; ditch built_with_use
diff --git a/games-arcade/pycadia/pycadia-0.5.1.ebuild b/games-arcade/pycadia/pycadia-0.5.1.ebuild
index c5497fae1634..95a740f56226 100644
--- a/games-arcade/pycadia/pycadia-0.5.1.ebuild
+++ b/games-arcade/pycadia/pycadia-0.5.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/pycadia/pycadia-0.5.1.ebuild,v 1.14 2009/01/19 19:03:34 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/pycadia/pycadia-0.5.1.ebuild,v 1.15 2011/10/19 21:38:02 mr_bones_ Exp $
-EAPI=1
+EAPI=2
inherit eutils games
DESCRIPTION="Pycadia. Home to vector gaming, python style."
@@ -21,21 +21,25 @@ S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
- echo "#!/bin/sh" > "${T}/pycadia"
- echo "cd ${GAMES_DATADIR}/${PN}" >> "${T}/pycadia"
- echo "exec python ./pycadia.py \"\${@}\"" >> "${T}/pycadia"
+ {
+ echo "#!/bin/sh"
+ echo "cd ${GAMES_DATADIR}/${PN}"
+ echo "exec python ./pycadia.py \"\${@}\""
+ } > "${T}/pycadia"
}
src_install() {
- dogamesbin "${T}/pycadia" || die "dogamesbin failed"
+ dogamesbin "${T}/pycadia" || die
insinto "${GAMES_DATADIR}/${PN}"
- doins *.py pycadia.conf || die "doins failed"
- doins -r {glade,pixmaps,sounds} || die "doins failed"
+ doins -r {glade,pixmaps,sounds} *.py pycadia.conf || die
exeinto "${GAMES_DATADIR}/${PN}"
- doexe pycadia.py spacewarpy.py vektoroids.py || die "doexe failed"
+ doexe pycadia.py spacewarpy.py vektoroids.py || die
- dodoc doc/TODO doc/CHANGELOG doc/README
+ newicon pixmaps/pysteroids.png ${PN}.png
+ make_desktop_entry ${PN} Pycadia
+
+ dodoc doc/{TODO,CHANGELOG,README}
prepgamesdirs
}