[arch-commits] Commit in perl-package-stash-xs/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:47:47 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:47:47
  Author: foutrelis
Revision: 470199

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-package-stash-xs/repos/community-staging-x86_64/
  perl-package-stash-xs/repos/community-staging-x86_64/PKGBUILD
    (from rev 470198, perl-package-stash-xs/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: perl-package-stash-xs/repos/community-staging-x86_64/PKGBUILD (from rev 470198, perl-package-stash-xs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 09:47:47 UTC (rev 470199)
@@ -0,0 +1,45 @@
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-package-stash-xs
+pkgver=0.29
+pkgrel=2
+pkgdesc="Faster and more correct implementation of the Package::Stash API"
+arch=('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-requires')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Package-Stash-XS-$pkgver.tar.gz)
+md5sums=('e5b58846a01aa39c36605e071c306dcc')
+
+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
+}



More information about the arch-commits mailing list