1 # Contributor: KillaB <xGenoBlast@gmail.com>
2 # Contributor: wizzomafizzo <wizzomafizzo@gmail.com>
3 # Contributor: Nick <nick@screamingfist.org>
8 pkgdesc="A roguelike game based on the FPS Doom."
10 url="http://doom.chaosforge.org/"
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')
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"