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

Rémy Oudompheng remy at archlinux.org
Sun Jun 26 15:54:32 UTC 2016


    Date: Sunday, June 26, 2016 @ 15:54:32
  Author: remy
Revision: 270681

archrelease: copy trunk to testing-any

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

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

Copied: perl-business-issn/repos/testing-any/PKGBUILD (from rev 270680, perl-business-issn/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2016-06-26 15:54:32 UTC (rev 270681)
@@ -0,0 +1,40 @@
+# $Id$
+# 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.001'
+pkgrel='1'
+pkgdesc="Perl package to work with International Standard Serial Numbers"
+arch=('any')
+url='https://metacpan.org/release/${_dist}'
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+url='http://search.cpan.org/dist/Business-ISSN'
+source=(http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_dist}-${pkgver}.tar.gz)
+md5sums=('004a95c3a44b1c2915ec62cdee66673d')
+
+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