1 # Maintainer: Kyle Keen <keenerd@gmail.com>
6 pkgdesc="A science fiction roguelike, Nethack in space."
10 [ "$CARCH" == "i686" ] && depends=("ncurses")
11 [ "$CARCH" == "x86_64" ] && depends=("lib32-ncurses")
12 source=("http://zapm.org/zapm-$pkgver.linux.tar.gz"
14 md5sums=('c0f10ad593be7c22d6da336cf8de9cbc'
15 'bf4b75ae17d4c95fabcda50bae47fa80')
19 mkdir -p "$pkgdir/usr/share/zapm"
20 sed -i 's|libpanel.so.5|libpanelw.so\x00|g' zapm
21 cp -r * "$pkgdir/usr/share/zapm"
22 chown -R root:games "$pkgdir/usr/share/zapm/user"
23 chmod -R 775 "$pkgdir/usr/share/zapm/user"
24 install -D "$srcdir/launcher" "$pkgdir/usr/bin/$pkgname"