updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / aliensrl / PKGBUILD
blob85d4d47403bccfb6e9990e5ae421b2331c0051a1
1 # Maintainer: Kyle Keen <keenerd@gmail.com>
3 pkgname=aliensrl
4 pkgver=7drlplus2
5 pkgrel=1
6 pkgdesc="Based on the Aliens movie and from the creator of DoomRL."
7 arch=("i686" "x86_64")
8 url="http://alien.chaosforge.org/"
9 license=("unknown")
10 [ "$CARCH" == "i686" ] && depends=("sdl_mixer")
11 [ "$CARCH" == "x86_64" ] && depends=("lib32-sdl_mixer")
12 source=("http://alien.chaosforge.org/file_download/4/$pkgname-linux-$pkgver-bin.tar.gz"
13         "launcher")
14 md5sums=('4a4260fe50d9e327154297ba580fb444'
15          '6ef7e7a7c00a6614bcb19ff3e48aaa82')
17 build() {
18         cd "$srcdir/$pkgname"
20         # Copy program and required files
21         mkdir -p "$pkgdir/usr/share/$pkgname"
22         chmod -R +r ./
23         chmod +x {voice,sound,music}
24         cp -a *  "$pkgdir/usr/share/$pkgname"
26         # Copy script used to run program
27         install -D "$srcdir/launcher" "$pkgdir/usr/bin/$pkgname"
29         # This is needed to save games and scores
30         chmod 4755 "$pkgdir/usr/share/$pkgname/$pkgname"