diff options
author | David Seifert <soap@gentoo.org> | 2017-11-19 14:12:34 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-11-19 14:34:24 +0100 |
commit | 86b7fa1ae87f4be14e3ffa566fd085819018a8a7 (patch) | |
tree | 147420f671af513a12224fc42c562f34dd3d6cb0 /games-action | |
parent | games-action/abuse: Remove old (diff) | |
download | gentoo-86b7fa1ae87f4be14e3ffa566fd085819018a8a7.tar.gz gentoo-86b7fa1ae87f4be14e3ffa566fd085819018a8a7.tar.bz2 gentoo-86b7fa1ae87f4be14e3ffa566fd085819018a8a7.zip |
games-action/accelerator3d: Minor touchups
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/accelerator3d/accelerator3d-0.1.1-r3.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games-action/accelerator3d/accelerator3d-0.1.1-r3.ebuild b/games-action/accelerator3d/accelerator3d-0.1.1-r3.ebuild index 38ae98f25014..1a5d9737b89a 100644 --- a/games-action/accelerator3d/accelerator3d-0.1.1-r3.ebuild +++ b/games-action/accelerator3d/accelerator3d-0.1.1-r3.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 + PYTHON_COMPAT=( python2_7 ) inherit eutils python-r1 @@ -13,7 +14,7 @@ LICENSE="Artistic" SLOT="0" KEYWORDS="~amd64 ~x86 ~x86-fbsd" IUSE="" -REQUIRED_USE=${PYTHON_REQUIRED_USE} +REQUIRED_USE="${PYTHON_REQUIRED_USE}" DEPEND="${PYTHON_DEPS}" RDEPEND="${DEPEND} @@ -32,14 +33,15 @@ src_prepare() { default sed -i \ - -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ + -e "s:@GENTOO_DATADIR@:${EPREFIX}/usr/share/${PN}:" \ accelerator.py || die } src_install() { python_foreach_impl python_newscript accelerator.py accelerator - insinto "/usr/share/${PN}" - doins gfx/* snd/* - dodoc CHANGELOG README + + insinto /usr/share/${PN} + doins -r gfx/. snd/. + einstalldocs make_desktop_entry accelerator } |