summaryrefslogtreecommitdiff
path: root/community/perl-package-stash-xs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-package-stash-xs/PKGBUILD')
-rw-r--r--community/perl-package-stash-xs/PKGBUILD31
1 files changed, 14 insertions, 17 deletions
diff --git a/community/perl-package-stash-xs/PKGBUILD b/community/perl-package-stash-xs/PKGBUILD
index ee83389a2..009a0633d 100644
--- a/community/perl-package-stash-xs/PKGBUILD
+++ b/community/perl-package-stash-xs/PKGBUILD
@@ -1,30 +1,28 @@
# Maintainer: Justin Davis <jrcd83@gmail.com>
-# $Id: PKGBUILD 71819 2012-06-02 10:31:46Z bluewind $
+# $Id: PKGBUILD 86634 2013-03-20 19:09:56Z eric $
pkgname=perl-package-stash-xs
-pkgver=0.25
-pkgrel=2
-pkgdesc="faster and more correct implementation of the Package::Stash API"
+pkgver=0.26
+pkgrel=1
+pkgdesc="Faster and more correct implementation of the Package::Stash API"
arch=(i686 x86_64)
license=(PerlArtistic GPL)
options=(!emptydirs)
-depends=('perl>=5.8.1')
-makedepends=('perl-extutils-makemaker>=6.30')
-checkdepends=('perl-test-fatal' 'perl-test-simple')
-url=https://metacpan.org/release/Package-Stash-XS
+depends=('perl')
+makedepends=('perl-extutils-makemaker')
+checkdepends=('perl-test-fatal' 'perl-test-simple' 'perl-test-requires')
+url="http://search.cpan.org/dist/Package-Stash-XS"
source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-${pkgver}.tar.gz")
-md5sums=(52ece18842c46da8fb7a4a14dea910ab)
-sha512sums=(2b539d9ba1a68c5ba681e9eabbcde4b396f66dc8dbd3b1e333286ea7ce39b93b97ec4bd97c31681720a925553b128371ce2c48f11254806aebd5de868a22b528)
-_distdir="${srcdir}/Package-Stash-XS-${pkgver}"
+md5sums=('33b07af6344d4a16ecd4e9ae3fa48984')
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'" \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null
- cd "$_distdir"
+ cd Package-Stash-XS-${pkgver}
/usr/bin/perl Makefile.PL
make
)
@@ -32,15 +30,14 @@ build() {
check() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
+ cd Package-Stash-XS-${pkgver}
make test
)
}
package() {
- cd "$_distdir"
+ cd Package-Stash-XS-${pkgver}
make DESTDIR="$pkgdir" install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
# Local Variables: