games-arcade/syobon: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Tue, 24 Apr 2018 18:46:00 +0000 (20:46 +0200)
committerPacho Ramos <pacho@gentoo.org>
Tue, 24 Apr 2018 19:26:20 +0000 (21:26 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

games-arcade/syobon/syobon-1.0.1-r1.ebuild [new file with mode: 0644]

diff --git a/games-arcade/syobon/syobon-1.0.1-r1.ebuild b/games-arcade/syobon/syobon-1.0.1-r1.ebuild
new file mode 100644 (file)
index 0000000..c0bb5d5
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+MY_P="${PN}_${PV}_src"
+
+DESCRIPTION="Syobon Action (also known as Cat Mario or Neko Mario)"
+HOMEPAGE="http://zapek.com/?p=189"
+SRC_URI="http://download.zapek.com/software/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       media-libs/libsdl[sound,video,joystick]
+       media-libs/sdl-gfx
+       media-libs/sdl-image[png]
+       media-libs/sdl-ttf
+       media-libs/sdl-mixer[vorbis]
+"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+       emake GAMEDATA="/usr/share/${PN}"
+}
+
+src_install() {
+       dobin ${PN}
+
+       insinto "/usr/share/${PN}"
+       doins -r BGM SE res
+       einstalldocs
+
+       make_desktop_entry ${PN}
+}