commit:     65987bd26dc833cc63f255fc0525d0a200cd19a1
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 24 18:46:00 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Apr 24 19:26:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65987bd2

games-arcade/syobon: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-arcade/syobon/syobon-1.0.1-r1.ebuild | 43 ++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

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
index 00000000000..c0bb5d581bb
--- /dev/null
+++ b/games-arcade/syobon/syobon-1.0.1-r1.ebuild
@@ -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}
+}

Reply via email to