1 # Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com>
2 # Contributor: Callan Barrett <wizzomafizzo@gmail.com>
7 pkgdesc="Nethack online bones file exchanger"
9 url="http://hearse.krollmark.com/"
11 depends=('perl' 'perl-libwww')
12 source=(http://www.argon.org/~roderick/hearse/dist/hearse-$pkgver.tar.gz)
13 install=hearse.install
14 md5sums=('4c022342d3f75af3b70a3e07e8e82ee0')
17 cd $srcdir/hearse-$pkgver
20 make DESTDIR=$pkgdir install
22 sed -e '/my $Run_as_user/ s/games/root/' \
23 -e '/my $Run_as_group/ s/games/root/' \
24 -i $pkgdir/usr/bin/perlbin/site/hearse
26 install -m644 -D $srcdir/hearse-$pkgver/hearse.conf \
27 $pkgdir/etc/nethack/hearse.conf
29 sed -e 's|# bones-dir.*|bones-dir /usr/share/nethack|' \
30 -i $pkgdir/etc/nethack/hearse.conf
32 # Probably need to watch out for this...
33 # This is future self, wtf are you talking about?
34 rm -rf $pkgdir/usr/lib