1 # Maintainer: Marcin Skory <armitage at gfreedom dot org>
2 # Contributor: Arkham <arkham at archlinux dot us>
3 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
4 # Contributor: Jacek Poplawski <jacekpoplawski__gmail>
9 pkgdesc='A free, enhanced port of the classic FPS "Marathon 2" by Bungie Software'
10 arch=('i686' 'x86_64')
11 url="http://marathon.sourceforge.net/"
13 depends=('sdl_ttf' 'libmad' 'libsndfile' 'libvorbis' 'mesa' 'sdl_image' \
14 'sdl_net' 'smpeg' 'speex' 'zziplib')
15 optdepends=('alephone-emr: community-made scenario' \
16 'alephone-eternalx: community-made scenario' \
17 'alephone-evil: community-made scenario' \
18 'alephone-marathon: M1A1 data converted for AlephOne' \
19 'alephone-marathon2: original data for Marathon 2: Durandal' \
20 'alephone-infinity: original data for Marathon Infinity' \
21 'alephone-red: community-made scenario' \
22 'alephone-rubiconx: community-made scenario' \
23 'alephone-tempus_irae: community-made scenario')
24 makedepends=('boost' 'lua>=5.1')
25 source=(http://downloads.sourceforge.net/marathon/AlephOne-$pkgver.tar.bz2)
26 md5sums=('af1a696697fad4ea38ccc5379e6c65b5')
27 sha1sums=('9f60aadbc2514359eafae09d13490c7fa020a519')
28 sha256sums=('c844b347cdba3bcfba33cf459aa94bcc7729f8865b5cfdb688da24262a918fca')
29 sha512sums=('9c9455cf7915e1d887cbdb172cf73c0d5b1c02daa18fe30d4ad6516903fc0de6d651863254d68df6e9332327170f4b38986aa9cb1b665353613b7bc3098540ee')
32 cd $srcdir/AlephOne-$pkgver
34 sed "s|PACKAGE='AlephOne'|PACKAGE='alephone'|g" -i configure
36 ./configure --prefix=/usr
38 make DESTDIR="$pkgdir" install || return 1