dev-games/hlsdk: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Thu, 30 Jun 2016 22:27:48 +0000 (17:27 -0500)
committerAustin English <wizardedit@gentoo.org>
Thu, 30 Jun 2016 22:29:25 +0000 (17:29 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.2.28

dev-games/hlsdk/hlsdk-2.3-r1.ebuild [new file with mode: 0644]

diff --git a/dev-games/hlsdk/hlsdk-2.3-r1.ebuild b/dev-games/hlsdk/hlsdk-2.3-r1.ebuild
new file mode 100644 (file)
index 0000000..c10b456
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Half-Life Software Development Kit for mod authors"
+HOMEPAGE="http://www.valvesoftware.com/hlsdk.htm"
+SRC_URI="http://www.metamod.org/files/sdk/${P}.tgz"
+
+LICENSE="ValveSDK"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+src_prepare() {
+       default
+       find -iname '*.orig' -exec rm -f '{}' + || die
+}
+
+src_install() {
+       insinto "$(get_libdir)"/${PN}
+       doins -r multiplayer singleplayer
+       dodoc metamod.hlsdk-2.3.txt metamod.hlsdk-2.3.patch
+}