updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / doomrl / PKGBUILD
blob8cebb8dcdd27af25602b9ff3d3ad8199d1f6d831
1 # Contributor: KillaB <xGenoBlast@gmail.com>
2 # Contributor: wizzomafizzo <wizzomafizzo@gmail.com>
3 # Contributor: Nick <nick@screamingfist.org>
5 pkgname=doomrl
6 pkgver=0.9.9.4
7 pkgrel=1
8 pkgdesc="A roguelike game based on the FPS Doom."
9 arch=("i686" "x86_64")
10 url="http://doom.chaosforge.org/"
11 license=("unknown")
12 [ "$CARCH" == "i686" ] && depends=("sdl_mixer" "zlib" "lua" "timidity-eawpatches")
13 [ "$CARCH" == "x86_64" ] && depends=("lib32-sdl_mixer" "lib32-zlib" "lib32-lua" "timidity-eawpatches")
14 source=("http://doom.chaosforge.org/file_download/14/doomrl-linux-i386-0994.tar.gz" "doomrl")
15 md5sums=('7a766098543bb1ecbd2b298355e02e26' '9a4fb2ae47ec81f6792deb1e1d19edb6')
17 build() {
18         cd "$srcdir/doomrl-linux-i386-0994"
20         # Copy program and required files
21         mkdir -p "$pkgdir/usr/share/doomrl"
22         cp -a * "$pkgdir/usr/share/doomrl"
24         # Copy script used to run program
25         install -D "$srcdir/doomrl" "$pkgdir/usr/bin/doomrl"
27         # This is needed to save games and scores
28         chmod 4755 "$pkgdir/usr/share/doomrl/doomrl"