summaryrefslogtreecommitdiff
path: root/community/perl-package-stash-xs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/perl-package-stash-xs
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/perl-package-stash-xs')
-rw-r--r--community/perl-package-stash-xs/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/community/perl-package-stash-xs/PKGBUILD b/community/perl-package-stash-xs/PKGBUILD
new file mode 100644
index 000000000..8ff0c7d31
--- /dev/null
+++ b/community/perl-package-stash-xs/PKGBUILD
@@ -0,0 +1,46 @@
+# $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.28
+pkgrel=1
+pkgdesc="Faster and more correct implementation of the Package::Stash API"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Package-Stash-XS"
+license=('PerlArtistic' 'GPL')
+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=('9664356ec3be02626cbd3081ec246b70')
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
+ MODULEBUILDRC=/dev/null
+
+ cd Package-Stash-XS-${pkgver}
+
+ /usr/bin/perl Makefile.PL
+
+ make
+ )
+}
+
+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
+}