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

Rémy Oudompheng remy at archlinux.org
Mon Jun 27 22:16:27 UTC 2016


    Date: Monday, June 27, 2016 @ 22:16:27
  Author: remy
Revision: 270740

archrelease: copy trunk to testing-any

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

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

Copied: perl-business-isbn/repos/testing-any/PKGBUILD (from rev 270739, perl-business-isbn/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2016-06-27 22:16:27 UTC (rev 270740)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# CPAN Name  : Business::ISBN
+# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# Generator  : CPANPLUS::Dist::Arch 1.29
+
+pkgname=perl-business-isbn
+_dist=Business-ISBN
+pkgver=2.011
+pkgrel=1
+pkgdesc='Perl package to work with International Standard Book Numbers'
+arch=('any')
+url='https://metacpan.org/release/${_dist}'
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-business-isbn-data')
+optdepends=('perl-libwww: for access to the xISBN service')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_dist}-${pkgver}.tar.gz)
+md5sums=('713eee9ccc81bd503b8263b34be0164f')
+
+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