/[gentoo-x86]/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild
Gentoo

Contents of /games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jun 1 21:43:44 2015 UTC (5 years, 1 month ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -7 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-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild,v 1.4 2015/02/01 11:40:26 zlogene Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 MY_PN=${PN/-bin/}
9 DESCRIPTION="Save Princess Mariana through one-on-one battles with demonic barbarians"
10 HOMEPAGE="http://www.tdbsoft.com/"
11 SRC_URI="http://www.pcpages.com/tomberrr/downloads/${MY_PN}${PV/./}_linux.zip"
12
13 LICENSE="CC-BY-NC-ND-2.0"
14 SLOT="0"
15 KEYWORDS="-* amd64 x86"
16 RESTRICT="strip"
17 IUSE=""
18
19 DEPEND="app-arch/unzip"
20 RDEPEND="sys-libs/libstdc++-v3:5
21 amd64? ( sys-libs/libstdc++-v3:5[multilib] )
22 >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]"
23
24 game_dest="${GAMES_PREFIX_OPT}/${MY_PN}"
25 QA_PREBUILT="${game_dest:1}/Barbarian"
26
27 S=${WORKDIR}
28
29 src_install() {
30 dodir "${game_dest}"
31 cp -r gfx sounds "${D}${game_dest}/" || die
32
33 exeinto "${game_dest}"
34 doexe Barbarian
35
36 dohtml Barbarian.html
37
38 games_make_wrapper barbarian ./Barbarian "${game_dest}"
39
40 # High-score file
41 dodir "${GAMES_STATEDIR}"
42 touch "${D}${GAMES_STATEDIR}/heroes.hoh"
43 fperms 660 "${GAMES_STATEDIR}/heroes.hoh"
44 dosym "${GAMES_STATEDIR}/heroes.hoh" "${game_dest}/heroes.hoh"
45 newicon gfx/sprites/player_attack_2_1.bmp barbarian.bmp
46 make_desktop_entry barbarian "Barbarian" /usr/share/pixmaps/barbarian.bmp
47 prepgamesdirs
48 }

  ViewVC Help
Powered by ViewVC 1.1.20