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

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


    Date: Saturday, May 25, 2019 @ 09:28:37
  Author: foutrelis
Revision: 354108

archrelease: copy trunk to staging-any

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

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

Copied: perl-business-issn/repos/staging-any/PKGBUILD (from rev 354107, perl-business-issn/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 09:28:37 UTC (rev 354108)
@@ -0,0 +1,38 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
+# Generator  : CPANPLUS::Dist::Arch 1.25
+
+pkgname='perl-business-issn'
+_dist=Business-ISSN
+pkgver=1.003
+pkgrel=2
+pkgdesc="Perl package to work with International Standard Serial Numbers"
+arch=('any')
+url="https://metacpan.org/release/${_dist}"
+license=('Artistic2.0')
+depends=('perl')
+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=('1272456c19937a24bc5f9a0db9dc447043591137719ee4dc955a63be544b99d1')
+
+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