games-arcade/grande-KXL: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Mon, 16 Apr 2018 20:18:36 +0000 (22:18 +0200)
committerPacho Ramos <pacho@gentoo.org>
Mon, 16 Apr 2018 20:26:44 +0000 (22:26 +0200)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild [new file with mode: 0644]

diff --git a/games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild b/games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild
new file mode 100644 (file)
index 0000000..b256aa3
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools desktop
+
+DESCRIPTION="ZANAC type game"
+HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-games/KXL"
+RDEPEND="${DEPEND}
+       media-fonts/font-adobe-100dpi
+"
+
+src_prepare() {
+       default
+       eapply "${FILESDIR}"/${P}-{configure.in,cflags}.patch
+       mv configure.{in,ac}
+       rm aclocal.m4
+       eautoreconf
+}
+
+src_install() {
+       dodir /var/lib
+       default
+       newicon src/bmp/boss1.bmp ${PN}.bmp
+       make_desktop_entry grande Grande /usr/share/pixmaps/${PN}.bmp
+}