Skip to content

Commit

Permalink
games-action/accelerator3d: Minor touchups
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.14, Repoman-2.3.6
  • Loading branch information
SoapGentoo committed Nov 19, 2017
1 parent 9af164e commit 86b7fa1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions games-action/accelerator3d/accelerator3d-0.1.1-r3.ebuild
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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}
Expand All @@ -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
}

0 comments on commit 86b7fa1

Please sign in to comment.