commit:     3d0919a21f20ecd9beeb768f056d0d0644938454
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 09:47:37 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 10:16:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0919a2

games-rpg/eschalon-book-1-demo: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: portage-2.3.0

 .../eschalon-book-1-demo-106-r1.ebuild             | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/games-rpg/eschalon-book-1-demo/eschalon-book-1-demo-106-r1.ebuild 
b/games-rpg/eschalon-book-1-demo/eschalon-book-1-demo-106-r1.ebuild
new file mode 100644
index 00000000..e1068fc
--- /dev/null
+++ b/games-rpg/eschalon-book-1-demo/eschalon-book-1-demo-106-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="A classic role-playing game"
+HOMEPAGE="http://basiliskgames.com/eschalon-book-i";
+SRC_URI="https://dev.gentoo.org/~calchan/distfiles/${P}.tar.gz";
+
+LICENSE="eschalon-book-1-demo"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+QA_PREBUILT="opt/*"
+
+RDEPEND="
+       >=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
+       x11-libs/libX11[abi_x86_32(-)]
+       x11-libs/libXxf86vm[abi_x86_32(-)]
+       virtual/glu[abi_x86_32(-)]
+       virtual/opengl[abi_x86_32(-)]"
+
+S="${WORKDIR}/Eschalon Book I Demo"
+
+src_install() {
+       insinto /opt/${PN}
+       doins -r data music sound *pdf *pak help.txt
+
+       exeinto /opt/${PN}
+       doexe "Eschalon Book I Demo"
+
+       make_desktop_entry ${PN} "Eschalon: Book I (Demo)"
+       make_wrapper ${PN} "\"./Eschalon Book I Demo\"" /opt/${PN}
+}

Reply via email to