/[gentoo-x86]/games-action/lugaru-demo/lugaru-demo-1.0c.ebuild
Gentoo

Contents of /games-action/lugaru-demo/lugaru-demo-1.0c.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Jun 1 22:05:45 2015 UTC (4 years, 7 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +4 -10 lines
clean up app-emulation/emul-linux which has been removed

(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/lugaru-demo/lugaru-demo-1.0c.ebuild,v 1.7 2015/02/01 11:25:13 zlogene Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 DESCRIPTION="3D arcade with unique fighting system and anthropomorphic characters"
9 HOMEPAGE="http://www.wolfire.com/lugaru"
10 SRC_URI="http://cdn.wolfire.com/games/lugaru/lugaru-linux-x86-${PV}.bin"
11
12 LICENSE="all-rights-reserved"
13 SLOT="0"
14 KEYWORDS="-* amd64 x86"
15 IUSE=""
16 RESTRICT="mirror bindist strip"
17
18 DEPEND="app-arch/unzip"
19 RDEPEND="sys-libs/glibc
20 amd64? (
21 >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
22 >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
23 )
24 x86? (
25 x11-libs/libX11
26 x11-libs/libXext
27 )"
28
29 QA_PREBUILT="${GAMES_PREFIX_OPT:1}"/${PN}/lugaru
30
31 S=${WORKDIR}/data
32
33 src_unpack() {
34 tail -c +194469 "${DISTDIR}"/${A} > ${A}.zip
35 unpack ./${A}.zip
36 rm -f ${A}.zip
37
38 # Duplicate file and can't be handled by portage, bug #14983
39 rm -f "${S}/Data/Textures/Quit.png "
40 }
41
42 src_install() {
43 local dir=${GAMES_PREFIX_OPT}/${PN}
44
45 insinto "${dir}"
46 doins -r Data
47
48 dodoc *.txt
49
50 exeinto "${dir}"
51 doexe lugaru
52 games_make_wrapper ${PN} ./lugaru "${dir}" "${dir}"
53
54 newicon lugaru.png ${PN}.png
55 make_desktop_entry ${PN} "Lugaru Demo" ${PN}
56
57 prepgamesdirs
58 }

  ViewVC Help
Powered by ViewVC 1.1.20