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/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/community/perl-package-stash-xs/PKGBUILD b/community/perl-package-stash-xs/PKGBUILD
index 805749e53..f8a39a069 100644
--- a/community/perl-package-stash-xs/PKGBUILD
+++ b/community/perl-package-stash-xs/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 91690 2013-05-26 09:25:52Z bluewind $
+# $Id: PKGBUILD 94211 2013-07-16 19:26:21Z jsteel $
# Maintainer: Jonathan Steel <mail@jsteel.org>
# Contributor: Justin Davis <jrcd83@gmail.com>
pkgname=perl-package-stash-xs
-pkgver=0.26
-pkgrel=2
+pkgver=0.28
+pkgrel=1
pkgdesc="Faster and more correct implementation of the Package::Stash API"
arch=(i686 x86_64 mips64el)
url="http://search.cpan.org/dist/Package-Stash-XS"
@@ -13,8 +13,8 @@ depends=('perl')
makedepends=('perl-extutils-makemaker')
checkdepends=('perl-test-fatal' 'perl-test-simple' 'perl-test-requires')
options=('!emptydirs')
-source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-${pkgver}.tar.gz")
-md5sums=('33b07af6344d4a16ecd4e9ae3fa48984')
+source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-$pkgver.tar.gz)
+md5sums=('9664356ec3be02626cbd3081ec246b70')
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
@@ -24,7 +24,9 @@ build() {
MODULEBUILDRC=/dev/null
cd Package-Stash-XS-${pkgver}
+
/usr/bin/perl Makefile.PL
+
make
)
}
@@ -32,17 +34,13 @@ build() {
check() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
cd Package-Stash-XS-${pkgver}
+
make test
)
}
package() {
cd Package-Stash-XS-${pkgver}
- make DESTDIR="$pkgdir" install
-}
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
+ make DESTDIR="$pkgdir"/ install
+}