games-misc/openmsx: EAPI=6
authorAlexander Golubev <fatzer2@gmail.com>
Sun, 25 Dec 2016 22:39:18 +0000 (01:39 +0300)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 26 Dec 2016 17:04:47 +0000 (18:04 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3242

games-misc/openmsx/openmsx-0.3.1-r2.ebuild [new file with mode: 0644]

diff --git a/games-misc/openmsx/openmsx-0.3.1-r2.ebuild b/games-misc/openmsx/openmsx-0.3.1-r2.ebuild
new file mode 100644 (file)
index 0000000..53582e3
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1
+
+DESCRIPTION="An ambiguously named music replacement set for OpenTTD"
+HOMEPAGE="http://bundles.openttdcoop.org/openmsx/"
+SRC_URI="http://bundles.openttdcoop.org/openmsx/releases/${PV}/${P}-source.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}"
+
+S=${WORKDIR}/${P}-source
+
+pkg_setup() {
+       python-any-r1_pkg_setup
+}
+
+src_compile() {
+       emake _V= bundle || die
+}
+
+src_install() {
+       insinto "/usr/share/games/openttd/gm/${P}"
+       doins ${P}/{*.mid,openmsx.obm} || die
+       dodoc ${P}/{changelog.txt,readme.txt} || die
+}