diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 20:39:32 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 20:39:32 (GMT) |
commit | b4e2076057d65f52720bf75fe7c250025973fa6d (patch) | |
tree | fbf8af98d893eb9832d2f4e6cc0c67f4bc050268 /abs | |
parent | e760c62840e31395faae27b41f77d910feec4a80 (diff) | |
download | linhes_pkgbuild-b4e2076057d65f52720bf75fe7c250025973fa6d.zip linhes_pkgbuild-b4e2076057d65f52720bf75fe7c250025973fa6d.tar.gz linhes_pkgbuild-b4e2076057d65f52720bf75fe7c250025973fa6d.tar.bz2 |
perl-file-listing: rebuild
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-file-listing/PKGBUILD | 49 |
1 files changed, 15 insertions, 34 deletions
diff --git a/abs/core/perl_modules/perl-file-listing/PKGBUILD b/abs/core/perl_modules/perl-file-listing/PKGBUILD index 8656fc1..3b8a04f 100644 --- a/abs/core/perl_modules/perl-file-listing/PKGBUILD +++ b/abs/core/perl_modules/perl-file-listing/PKGBUILD @@ -1,49 +1,30 @@ -# Maintainer: Justin "juster" Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 150631 2012-02-19 01:02:52Z allan $ +# $Id$ +# Maintainer: pkgname=perl-file-listing pkgver=6.04 -pkgrel=1 +pkgrel=4 pkgdesc="parse directory listing" -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=('perl>=5.8.8' 'perl-http-date>=6') -conflicts=('perl-libwww<6') +arch=('any') url="http://search.cpan.org/dist/File-Listing" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-http-date') +options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/File-Listing-${pkgver}.tar.gz") -md5sums=('83f636b477741f3a014585bb9cc079a6') -sha512sums=('a84198bc82003daaf88ed23218e34a7a1552dcd2855a9563e9609ce5df167a8295043501534c31614854fc8dd9c04b4af27b4d7320112c613914f94c86c2eeb2') -_distdir="${srcdir}/File-Listing-${pkgver}" +sha1sums=('02a41fe1b91f3f198712965360192f31d6d8d74e') build() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ - PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ - PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ - MODULEBUILDRC=/dev/null - - cd "$_distdir" - /usr/bin/perl Makefile.PL - make - ) + cd File-Listing-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd File-Listing-${pkgver} + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd File-Listing-${pkgver} + make DESTDIR="$pkgdir" install } - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: |