PKGBUILDs/community/perl-net-server/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
839 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Wael Nasreddine <wael@phoenixlinux.org>
# Maintainer: Guillermo A. Amaral <me@guillermoamaral.com> (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
}