4 pkgdesc="Mud client written in perl"
6 depends=('perl-io-socket-ssl' 'perl-term-readkey' 'perl-term-readline-gnu')
8 source=(http://dl.sf.net/perlmudclient/$pkgname-$pkgver.tar.gz)
9 url="http://perlmudclient.sourceforge.net/"
10 md5sums=('bdc27d21371bc8529c3a5ac493d94cd9')
14 cd $startdir/src/$pkgname-$pkgver || return 1
15 perl Makefile.PL || return 1
17 make DESTDIR=$startdir/pkg install || return 1
18 find $startdir/pkg -name "*.packlist" -delete || return 1
19 find $startdir/pkg -name "*.pod" -delete || return 1
20 rm -r $startdir/pkg/usr/lib || return 1
21 mkdir -p $startdir/pkg/usr/share/doc/$pkgname || return 1
22 install -Dm664 $startdir/src/$pkgname-$pkgver/README $startdir/pkg/usr/share/doc/$pkgname || return 1
23 install -Dm664 $startdir/src/$pkgname-$pkgver/doc/* $startdir/pkg/usr/share/doc/$pkgname || return 1