updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / primerl / PKGBUILD
blob04cd9aebe67e82b9a4149610fb0cb6ff9b4127b6
1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 pkgname=primerl
3 pkgver=0.17
4 pkgrel=1
5 pkgdesc="A sci-fi roguelike, based on ZAPM."
6 arch=('i686' 'x86_64')
7 url="http://primetheroguelike.galeon.com/"
8 license=('GPL')
9 depends=('ncurses' 'gcc-libs')
10 makedepends=()
11 source=(http://primetheroguelike.galeon.com/primelinux17.tgz launcher)
12 md5sums=('8f9da41660465e559e3753d22fc97552'
13          '6c53959fc194b9c7c1aad1a6efd988b3')
15 # source build, segfaulty
16 #source=(http://primetheroguelike.galeon.com/primesource17.tgz)
17 #md5sums=('72bea573a717807543acd0603494933e')
19 #build()
21 #  cd "$srcdir/prime_src"
22 #  sed -i 's|CXXFLAGS=|&-fpermissive |' Makefile
23 #  cp backup/monsters.* ./
24 #  chmod +x monsters.pl
25 #  make
28 package()
30   cd "$srcdir/prime"
31   mkdir -p "$pkgdir/usr/share/primerl"
32   cp -r * "$pkgdir/usr/share/primerl"
33   chown -R root:games "$pkgdir/usr/share/primerl/user"
34   chmod -R 775 "$pkgdir/usr/share/primerl/user"
35   install -D "$srcdir/launcher" "$pkgdir/usr/bin/$pkgname"