games-sports/ski: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Wed, 28 Sep 2016 20:50:07 +0000 (15:50 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 28 Sep 2016 21:13:55 +0000 (16:13 -0500)
Also update to EAPI 6

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

Package-Manager: portage-2.3.0

games-sports/ski/ski-6.9-r1.ebuild [new file with mode: 0644]

diff --git a/games-sports/ski/ski-6.9-r1.ebuild b/games-sports/ski/ski-6.9-r1.ebuild
new file mode 100644 (file)
index 0000000..b779067
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1
+
+DESCRIPTION="A simple text-mode skiing game"
+HOMEPAGE="http://www.catb.org/~esr/ski/"
+SRC_URI="http://www.catb.org/~esr/ski/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+pkg_setup() {
+       python-single-r1_pkg_setup
+}
+
+src_install() {
+       dobin ski
+       dodoc NEWS README
+       doman ski.6
+       domenu ski.desktop
+       doicon ski.png
+       python_fix_shebang "${ED}/usr/bin"
+}