# 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
DIST pycadia-0.5.1.tar.gz 2768619 RMD160 332045e74f6f11832709d5b8b9df24dd1895a8a5 SHA1 9763c904c9be15b36e63a2cb11dd4aaa931e8614 SHA256 c872e4aede8cd04773327308b38b7e85b06aa370facee1c7b912d9ea938f67b5
-EBUILD pycadia-0.5.1.ebuild 1127 RMD160 c9c4a41c7fcc7370491e049964d43e8e6f6bcf8e SHA1 494e03f68907f483dddc9bf44eefe7db69e1d36c SHA256 a853a505058896a239ccc9d90f4902c2a01742fdaed2c2580cfa4be466dadf22
-MISC ChangeLog 1328 RMD160 5c62d7508f5cea1c5b6bf76aff0183d7da696d0f SHA1 6571247aba09bc2507bae25b496e742ee73e449e SHA256 b4fb1b0db5a6c177ac440054cf138eb9d7ecbc417d5164cd534f1ec4c06cb86b
+EBUILD pycadia-0.5.1.ebuild 1092 RMD160 31e1b8f3ecac09606c7b695d4cbe9d803c382d38 SHA1 05a7e777a55f3866b9da1096e03d0dce80c81320 SHA256 70299efb792b420a928113fef83798cc7d4861a622cb9507f46f77d9cc8c983a
+MISC ChangeLog 1441 RMD160 8dd0351810bf3cf71192b82fc35a2dad270e0b08 SHA1 c6c61a3a82355a0308f76304fb39be462c8574fc SHA256 55662d1d3f59b51b93124e5ae999ea2a8da77b1a0143358b8bf36592bf4c1202
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
-# 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."
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
}