[arch-commits] Commit in perl-business-ismn/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 09:19:03 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:19:03
  Author: felixonmars
Revision: 383826

archrelease: copy trunk to staging-any

Added:
  perl-business-ismn/repos/staging-any/
  perl-business-ismn/repos/staging-any/PKGBUILD
    (from rev 383824, perl-business-ismn/trunk/PKGBUILD)

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

Copied: perl-business-ismn/repos/staging-any/PKGBUILD (from rev 383824, perl-business-ismn/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 09:19:03 UTC (rev 383826)
@@ -0,0 +1,38 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator  : CPANPLUS::Dist::Arch 1.29
+
+pkgname='perl-business-ismn'
+_dist=Business-ISMN
+pkgver=1.201
+pkgrel=3
+pkgdesc="Perl package to work with International Standard Music Numbers"
+arch=('any')
+url="https://metacpan.org/release/${_dist}"
+license=('Artistic2.0')
+depends=('perl' 'perl-tie-cycle>=1.21')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_dist}-${pkgver}.tar.gz")
+sha256sums=('4a3231a16456bf8cbf17f26b65243f247078b5145d9a03aa7586baf09577ecb2')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list