diff options
Diffstat (limited to 'abs/core/perl_modules/perl-http-server-simple')
-rw-r--r-- | abs/core/perl_modules/perl-http-server-simple/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-http-server-simple/PKGBUILD b/abs/core/perl_modules/perl-http-server-simple/PKGBUILD new file mode 100644 index 0000000..33dd3f3 --- /dev/null +++ b/abs/core/perl_modules/perl-http-server-simple/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 56432 2011-10-07 09:57:00Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-http-server-simple +pkgver=0.44 +pkgrel=1 +pkgdesc="Lightweight HTTP server " +arch=(any) +url="http://search.cpan.org/dist/HTTP-Server-Simple" +license=('GPL' 'PerlArtistic') +depends=('perl-uri') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-$pkgver.tar.gz) +md5sums=('70d4ae98affb9e921ab1478bbdffca3b') + +build() { + cd $srcdir/HTTP-Server-Simple-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |