desktop/alienarena/PKGBUILD

36 lines
1.0 KiB
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
pkgname=alienarena
pkgver=7.51
_pkgver=7_51
pkgrel=1
_verdate=20110311
pkgdesc="Multiplayer retro sci-fi deathmatch game"
arch=('i686' 'x86_64')
url='http://icculus.org/alienarena/rpa/'
license=('GPL' 'LGPL' 'custom:Non-free data')
depends=('curl' 'freetype2' 'libgl' 'libjpeg' 'libvorbis' 'libxxf86dga' 'libxxf86vm' 'mesa' 'ode' 'sdl' 'openal')
source=(http://icculus.org/alienarena/Files/alienarena-$_pkgver-linux${_verdate}.tar.gz
'alienarena.desktop')
md5sums=('c9f1f050f52cdc45ab85487c526518d8'
'7bc3fba786eb379fbcb3c9aecf106811')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
mv -f "$pkgdir/usr/bin/crx" "$pkgdir/usr/bin/$pkgname"
mv -f "$pkgdir/usr/bin/crx-ded" "$pkgdir/usr/bin/$pkgname-ded"
install -D -m644 "$srcdir/alienarena.desktop" "${pkgdir}/usr/share/applications/alienarena.desktop"
}