[arch-commits] Commit in perl-sub-exporter/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Jun 1 17:53:50 UTC 2017


    Date: Thursday, June 1, 2017 @ 17:53:50
  Author: felixonmars
Revision: 232471

archrelease: copy trunk to community-staging-any

Added:
  perl-sub-exporter/repos/community-staging-any/
  perl-sub-exporter/repos/community-staging-any/PKGBUILD
    (from rev 232470, perl-sub-exporter/trunk/PKGBUILD)

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

Copied: perl-sub-exporter/repos/community-staging-any/PKGBUILD (from rev 232470, perl-sub-exporter/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 17:53:50 UTC (rev 232471)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-sub-exporter
+pkgver=0.987
+pkgrel=2
+pkgdesc="A sophisticated exporter for custom-built routines"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl' 'perl-data-optlist' 'perl-params-util' 'perl-sub-install')
+url="https://metacpan.org/release/Sub-Exporter"
+source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-$pkgver.tar.gz)
+md5sums=('5332d269a7ba387773fcd140b72a0ed2')
+
+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 "$srcdir"/Sub-Exporter-$pkgver
+
+    /usr/bin/perl Makefile.PL
+    make
+  )
+}
+
+check() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+
+    cd "$srcdir"/Sub-Exporter-$pkgver
+
+    make test
+  )
+}
+
+package() {
+  cd "$srcdir"/Sub-Exporter-$pkgver
+
+  make DESTDIR="$pkgdir"/ install
+}



More information about the arch-commits mailing list