dev-games/quake4-sdk: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Sat, 14 Apr 2018 21:14:46 +0000 (23:14 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 14 Apr 2018 21:17:11 +0000 (23:17 +0200)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

dev-games/quake4-sdk/quake4-sdk-1.4.2-r1.ebuild [new file with mode: 0644]

diff --git a/dev-games/quake4-sdk/quake4-sdk-1.4.2-r1.ebuild b/dev-games/quake4-sdk/quake4-sdk-1.4.2-r1.ebuild
new file mode 100644 (file)
index 0000000..e1b3a2f
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit unpacker
+
+DESCRIPTION="Quake4 SDK"
+HOMEPAGE="http://www.iddevnet.com/quake4/"
+SRC_URI="mirror://idsoftware/quake4/source/linux/quake4-linux-${PV}-sdk.x86.run"
+
+LICENSE="QUAKE4"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+S="${WORKDIR}"
+
+src_unpack() {
+       unpack_makeself
+       rm -rf setup.{sh,data} || die
+}
+
+src_install() {
+       insinto "/opt/${PN}"
+       doins -r *
+}