ChangeLog

# ChangeLog for games-fps/postal2
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/ChangeLog,v 1.6 2008/06/04 00:13:42 nyhm Exp $

04 Jun 2008; Tristan Heaven postal2-1409.2.ebuild:
Remove unneeded dependencies

29 Feb 2008; Carsten Lohrke postal2-1409.2.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.

17 Apr 2007; Chris Gianelloni postal2-1409.2.ebuild:
Added ~amd64 KEYWORDS and closing bug #173448.

14 Feb 2007; Tristan Heaven postal2-1409.2.ebuild:
Stable on x86

24 Oct 2006; Chris Gianelloni postal2-1409.2.ebuild:
Moved cdrom_get_cds to src_unpack since binary packages don't require the
original media to install.

*postal2-1409.2 (03 Oct 2006)

03 Oct 2006; Tristan Heaven +metadata.xml,
+postal2-1409.2.ebuild:
Initial commit. Modified ebuild from bug #97533 by Kjartan Kvamme, Alexander
Nicolaysen Sørnes and Paul Bredbury.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DIST postal2-1409.1.run 4816304 RMD160 be7853b44e3045a54b5cc9e6ede236917202942f SHA1 1f9d8c2962d5905b7a746e15b82547727c9f4e51 SHA256 7c34530f84acfcb120710660ae56264fdab28d74eb0dd0a351bef37f87e2b1b1
DIST postal2-1409.2.run 5645624 RMD160 aeea0fdb559d59a23c5be01a0fecbc358e7a82d4 SHA1 6a83dee1a2ebd86716ecc5157d4a89e3fc3c5eff SHA256 5b7456200d5777b350e2a1b01eefd8f74df9c5d880acd18eeab3af731d719fe7
EBUILD postal2-1409.2.ebuild 1315 RMD160 f5b642a09562709fcf0108a1effd652d843f28d4 SHA1 bfe988aeea760a7b19e0a71b3437e0bdafd88167 SHA256 b828868340e88047932dfd4ccbeb06930c7e5f5597c068f4c66121172fb63eb7
MISC ChangeLog 1097 RMD160 b108162b8e2b9594386cba008a4bffb25443417e SHA1 7e6ae41589c5acd4cf73e549c6ebe0eae7ab8453 SHA256 fb3d7e593893d3eab64ed2be42c83ca7d4c9d598f2eb7267d65d4f8ea26f7dd9
MISC metadata.xml 251 RMD160 06f6da1d444a200da939f3a66efda69e106d437a SHA1 33620e22c3208afee5b6c4641a7fcfe30bfc2009 SHA256 1ee2ce2802a2ce864b396d3300b3a8f7bea466b1280840097c29265e2ad4a7b2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhF3jwACgkQdz7hIScOURHwAwCg9xZeS0fdXgCHtMbHzzCw8FQK
LuAAoLteKdJgzxcmS5X6Y8MP7DcQDb4U
=Ip4P
-----END PGP SIGNATURE-----

metadata.xml




games

nyhm@gentoo.org
Tristan Heaven

postal2-1409.2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/postal2-1409.2.ebuild,v 1.6 2008/06/04 00:13:42 nyhm Exp $

inherit eutils games

DESCRIPTION="Postal 2: Share the Pain"
HOMEPAGE="http://www.gopostal.com/"
SRC_URI="http://updatefiles.linuxgamepublishing.com/${PN}/${P/%?/1}.run
http://updatefiles.linuxgamepublishing.com/${PN}/${P}.run"

LICENSE="postal2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
RESTRICT="strip"

DEPEND="games-util/loki_patch"
RDEPEND="sys-libs/glibc
virtual/opengl
amd64? ( app-emulation/emul-linux-x86-xlibs )"

S=${WORKDIR}

GAMES_CHECK_LICENSE="yes"

src_unpack() {
cdrom_get_cds .installation_data/linux-specific.tar.bz2
mkdir ${A}

local f
for f in * ; do
cd "${S}"/${f}
unpack_makeself ${f}
done
}

src_install() {
local dir=${GAMES_PREFIX_OPT}/${PN}

dodir "${dir}"
cd "${D}/${dir}"

ln -s "${CDROM_ROOT}"/.installation_data/*.bz2 .
unpack ./*.bz2
rm ./*.bz2

local d
for d in "${S}"/* ; do
cd "${d}"
loki_patch patch.dat "${D}/${dir}" || die "loki_patch ${d} failed"
done

games_make_wrapper ${PN} ./${PN}-bin "${dir}"/System .
doicon "${CDROM_ROOT}"/.installation_data/${PN}.xpm
make_desktop_entry ${PN} "Postal 2: Share the Pain"

prepgamesdirs
}