diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-24 20:51:46 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-24 21:26:23 +0200 |
commit | 1ca4a37df3170d678c6bfb355ada501795385461 (patch) | |
tree | fd94e3b3cc335948995b7582bc170b983b79d574 /games-arcade | |
parent | games-arcade/syobon: Drop old (diff) | |
download | gentoo-1ca4a37df3170d678c6bfb355ada501795385461.tar.gz gentoo-1ca4a37df3170d678c6bfb355ada501795385461.tar.bz2 gentoo-1ca4a37df3170d678c6bfb355ada501795385461.zip |
games-arcade/thinktanks-demo: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/thinktanks-demo/thinktanks-demo-1.1-r3.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games-arcade/thinktanks-demo/thinktanks-demo-1.1-r3.ebuild b/games-arcade/thinktanks-demo/thinktanks-demo-1.1-r3.ebuild new file mode 100644 index 000000000000..a672cd15f03e --- /dev/null +++ b/games-arcade/thinktanks-demo/thinktanks-demo-1.1-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop unpacker + +DESCRIPTION="Tank combat game with lighthearted, fast paced pandemonium" +HOMEPAGE="http://www.garagegames.com/pg/product/view.php?id=12" +SRC_URI="ftp://ggdev-1.homelan.com/thinktanks/ThinkTanksDemo_v${PV}.sh.bin" + +LICENSE="THINKTANKS" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="strip" + +RDEPEND=" + media-libs/libsdl[video,joystick,abi_x86_32(-)] + media-libs/libogg[abi_x86_32(-)] + media-libs/libvorbis[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] +" +DEPEND="" + +S="${WORKDIR}" +dir="/opt/${PN}" + +QA_PREBUILT="${dir:1}/ThinkTanks.bin" + +src_install() { + dodir "${dir}" "/usr/bin" + + tar -zxf ThinkTanks.tar.gz -C "${ED}/${dir}" || die + + exeinto "${dir}" + doexe bin/Linux/x86/thinktanksdemo + dosym "${dir}"/thinktanksdemo /usr/bin/thinktanks-demo + # Using system libraries + rm -rf "${ED}/${dir}"/lib + + insinto "${dir}" + doins icon.xpm + + newicon icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Thinktanks (Demo)" /usr/share/pixmaps/${PN}.xpm + + dodoc ReadMe_Linux.txt +} |