# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Wael Nasreddine # Maintainer: Guillermo A. Amaral (thewonka) pkgname=perl-net-server pkgver=0.97 pkgrel=2 pkgdesc="Extensible (class) oriented internet server" arch=(i686 x86_64) url="http://search.cpan.org/dist/Net-Server" license=("GPL") option=('!emptydirs') source=(http://www.cpan.org/authors/id/R/RH/RHANDOM/Net-Server-$pkgver.tar.gz) md5sums=('f884b6c5b1d2698a82bbc7ba659690a1') build() { cd $startdir/src/Net-Server-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$startdir/pkg || return 1 find $startdir/pkg -name '.packlist' -delete find $startdir/pkg -name '*.pod' -delete }