diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-23 20:37:57 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-23 21:17:13 +0200 |
commit | edab26e006379a10ae2ac162863b3f2f66382652 (patch) | |
tree | d0667b5926f882c3ae489f5a1c1ab6dbf39fb1f6 /games-arcade/pydance | |
parent | games-arcade/pydance-songs: Drop old (diff) | |
download | gentoo-edab26e006379a10ae2ac162863b3f2f66382652.tar.gz gentoo-edab26e006379a10ae2ac162863b3f2f66382652.tar.bz2 gentoo-edab26e006379a10ae2ac162863b3f2f66382652.zip |
games-arcade/pydance: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-arcade/pydance')
-rw-r--r-- | games-arcade/pydance/pydance-1.1.0-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/games-arcade/pydance/pydance-1.1.0-r1.ebuild b/games-arcade/pydance/pydance-1.1.0-r1.ebuild new file mode 100644 index 000000000000..f3d5b1901227 --- /dev/null +++ b/games-arcade/pydance/pydance-1.1.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="A DDR clone for linux written in Python" +HOMEPAGE="http://www.icculus.org/pyddr/" +SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/pygame + media-libs/libvorbis + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" +PDEPEND="games-arcade/pydance-songs" + +src_prepare() { + default + sed -i -e "s:1\.0\.1:1.0.2:" \ + pydance.py constants.py docs/man/pydance.6 || die + sed -i -e 's:/usr/share/games/pydance/:/usr/share/pydance/:g' pydance.posix.cfg || die +} + +src_install() { + local dir=/usr/share/${PN} + + insinto "${dir}" + doins *.py + cp -R CREDITS {sound,images,utils,themes} "${D}${dir}/" || die + + insinto /etc/ + newins pydance.posix.cfg pydance.cfg + + make_wrapper pydance "python2 ./pydance.py" "${dir}" + + dodoc BUGS CREDITS ChangeLog HACKING README TODO + HTML_DOCS="docs/manual.html docs/images" einstalldocs + doman docs/man/* +} |