[arch-commits] Commit in perl-sub-exporter/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 29 11:05:48 UTC 2022
Date: Sunday, May 29, 2022 @ 11:05:48
Author: felixonmars
Revision: 1214244
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 1214242, perl-sub-exporter/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: perl-sub-exporter/repos/community-staging-any/PKGBUILD (from rev 1214242, perl-sub-exporter/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2022-05-29 11:05:48 UTC (rev 1214244)
@@ -0,0 +1,43 @@
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-sub-exporter
+pkgver=0.988
+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=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-$pkgver.tar.gz)
+sha512sums=('e992739097eca3aab0465e33ca60d91e4b08ee40d7cd041be4452873790e438bb1fb293331f919ae1e9b879fc063d17586218a9e97838cf61216172d6bdba273')
+
+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