diff options
author | Austin English <wizardedit@gentoo.org> | 2017-09-07 13:05:02 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2017-09-07 16:04:16 -0500 |
commit | 1383ad28176209b45b09d4748767ebe1ca01bad5 (patch) | |
tree | 92db670a3015ef6afe9448d527f13a343e52579b /games-strategy/darwinia-demo | |
parent | games-strategy/boswars: remove deprecated games eclass (diff) | |
download | gentoo-1383ad28176209b45b09d4748767ebe1ca01bad5.tar.gz gentoo-1383ad28176209b45b09d4748767ebe1ca01bad5.tar.bz2 gentoo-1383ad28176209b45b09d4748767ebe1ca01bad5.zip |
games-strategy/darwinia-demo: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'games-strategy/darwinia-demo')
-rw-r--r-- | games-strategy/darwinia-demo/darwinia-demo-1.3.0-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games-strategy/darwinia-demo/darwinia-demo-1.3.0-r1.ebuild b/games-strategy/darwinia-demo/darwinia-demo-1.3.0-r1.ebuild new file mode 100644 index 000000000000..c49c2f6401b3 --- /dev/null +++ b/games-strategy/darwinia-demo/darwinia-demo-1.3.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils unpacker + +DESCRIPTION="Darwinia, the hyped indie game of the year. By the Uplink creators" +HOMEPAGE="http://www.darwinia.co.uk/downloads/demo_linux.html" +SRC_URI="http://www.introversion.co.uk/darwinia/downloads/${PN}2-${PV}.sh" + +LICENSE="Introversion" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="mirror strip" + +RDEPEND=" + media-libs/libsdl[abi_x86_32(-)] + media-libs/libvorbis[abi_x86_32(-)] + virtual/glu[abi_x86_32(-)] + ~virtual/libstdc++-3.3 + virtual/opengl[abi_x86_32(-)]" + +S=${WORKDIR} + +dir="/opt/${PN}" + +src_unpack() { + unpack_makeself +} + +src_install() { + exeinto "${dir}/lib" + insinto "${dir}/lib" + + doexe lib/{darwinia.bin.x86,open-www.sh} + doins lib/{sounds,main,language}.dat + + insinto "${dir}" + dodoc README + + exeinto "${dir}" + doexe bin/Linux/x86/darwinia + + make_wrapper darwinia-demo ./darwinia "${dir}" "${dir}" + newicon darwinian.png ${PN}.png + make_desktop_entry darwinia-demo "Darwinia (Demo)" +} |