diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-package-stash/PKGBUILD | 63 |
1 files changed, 22 insertions, 41 deletions
diff --git a/abs/core/perl_modules/perl-package-stash/PKGBUILD b/abs/core/perl_modules/perl-package-stash/PKGBUILD index b985727..c50f3a9 100644 --- a/abs/core/perl_modules/perl-package-stash/PKGBUILD +++ b/abs/core/perl_modules/perl-package-stash/PKGBUILD @@ -1,52 +1,33 @@ -# Maintainer: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 57663 2011-11-01 00:48:37Z juster $ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis <jrcd83@gmail.com> pkgname=perl-package-stash -pkgver=0.33 -pkgrel=2 -pkgdesc="routines for manipulating stashes" -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=('perl>=5.8.1' 'perl-dist-checkconflicts>=0.02' - 'perl-package-deprecationmanager' 'perl-scalar-list-utils' - 'perl-package-stash-xs>=0.24') -makedepends=('perl-extutils-makemaker>=6.30') -checkdepends=('perl-test-fatal' 'perl-test-requires' 'perl-test-simple') -url=https://metacpan.org/release/Package-Stash -source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-${pkgver}.tar.gz") -md5sums=(fe1f6efa0dbd46f8520903b436f185f1) -sha512sums=(8b3e62caa7ac99f1429d4ab4c3a00265a8ca2aa6281c5c254c4fb455d8a262c445a1daafa405208f902fd352e18ef121a37303ceb27caabb0bdc3c14b807508b) -_distdir="${srcdir}/Package-Stash-${pkgver}" +pkgver=0.37 +pkgrel=4 +pkgdesc="Routines for manipulating stashes" +arch=('any') +url="http://search.cpan.org/dist/Package-Stash" +license=('PerlArtistic' 'GPL') +depends=('perl-dist-checkconflicts' 'perl-package-stash-xs' 'perl-module-implementation') +checkdepends=('perl-test-fatal' 'perl-test-requires') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-$pkgver.tar.gz) +sha1sums=('43fc4e362ac1a45eb27fe779806cbd96c891e2dc') 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 Package-Stash-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd Package-Stash-$pkgver + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd Package-Stash-$pkgver + make DESTDIR="$pkgdir" install } - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: |