diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/perl_modules/perl-http-server-simple | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/perl_modules/perl-http-server-simple')
-rw-r--r-- | abs/core/perl_modules/perl-http-server-simple/PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/abs/core/perl_modules/perl-http-server-simple/PKGBUILD b/abs/core/perl_modules/perl-http-server-simple/PKGBUILD index 33dd3f3..06ba6de0 100644 --- a/abs/core/perl_modules/perl-http-server-simple/PKGBUILD +++ b/abs/core/perl_modules/perl-http-server-simple/PKGBUILD @@ -1,24 +1,29 @@ -# $Id: PKGBUILD 56432 2011-10-07 09:57:00Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-http-server-simple -pkgver=0.44 +pkgver=0.52 pkgrel=1 -pkgdesc="Lightweight HTTP server " +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') +source=(http://search.cpan.org/CPAN/authors/id/B/BP/BPS/HTTP-Server-Simple-$pkgver.tar.gz) +sha256sums=('d8939fa4f12bd6b8c043537fd0bf96b055ac3686b9cdd9fa773dca6ae679cb4c') build() { - cd $srcdir/HTTP-Server-Simple-$pkgver + cd "$srcdir"/HTTP-Server-Simple-$pkgver + PERL_USE_UNSAFE_INC=1 \ 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 +} + +package() { + cd "$srcdir"/HTTP-Server-Simple-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } |