diff options
author | 2018-05-01 12:21:21 +0200 | |
---|---|---|
committer | 2018-05-01 21:31:56 +0200 | |
commit | c6330a9831ab06b6b01a27f4fcd33c237bdff293 (patch) | |
tree | b5eb893aeb48708b4a5d2523a3e6f7a79c9b3721 /games-puzzle/angrydd | |
parent | games-puzzle/anagramarama: Drop old (diff) | |
download | gentoo-c6330a9831ab06b6b01a27f4fcd33c237bdff293.tar.gz gentoo-c6330a9831ab06b6b01a27f4fcd33c237bdff293.tar.bz2 gentoo-c6330a9831ab06b6b01a27f4fcd33c237bdff293.zip |
games-puzzle/angrydd: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-puzzle/angrydd')
-rw-r--r-- | games-puzzle/angrydd/angrydd-1.0.1-r2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/games-puzzle/angrydd/angrydd-1.0.1-r2.ebuild b/games-puzzle/angrydd/angrydd-1.0.1-r2.ebuild new file mode 100644 index 000000000000..a9651f439d5a --- /dev/null +++ b/games-puzzle/angrydd/angrydd-1.0.1-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit desktop python-single-r1 + +DESCRIPTION="Angry, Drunken Dwarves, a falling blocks game similar to Puzzle Fighter" +HOMEPAGE="https://www.sacredchao.net/~piman/angrydd/" +SRC_URI="https://www.sacredchao.net/~piman/angrydd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND="${PYTHON_DEPS} + dev-python/pygame[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + python_fix_shebang . +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="/usr/share/" \ + TO="${PN}" \ + install + rm -rf "${ED}/usr/share/games" "${ED}/usr/share/share" || die + + python_optimize "${ED}/usr/share/${PN}" + + dodir /usr/bin + dosym "/usr/share/${PN}/angrydd.py" "/usr/bin/${PN}" + doman angrydd.6 + dodoc README TODO HACKING + + doicon angrydd.png + make_desktop_entry angrydd "Angry, Drunken Dwarves" +} |