Date: Sunday, June 26, 2016 @ 21:42:39 Author: remy Revision: 270698 archrelease: copy trunk to testing-any
Added: perl-business-isbn-data/repos/testing-any/ perl-business-isbn-data/repos/testing-any/PKGBUILD (from rev 270697, perl-business-isbn-data/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: perl-business-isbn-data/repos/testing-any/PKGBUILD (from rev 270697, perl-business-isbn-data/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2016-06-26 21:42:39 UTC (rev 270698) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> +# CPAN Name : Business::ISBN::Data +# Contributor: Anton Leontiev <bunder /at/ t-25.ru> +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname=perl-business-isbn-data +_dist=Business-ISBN-Data +pkgver=20140910.003 +pkgrel=1 +pkgdesc='Data pack for Business::ISBN' +arch=('any') +url='https://metacpan.org/release/${_dist}' +license=('PerlArtistic') +depends=('perl') +options=(purge '!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_dist}-${pkgver}.tar.gz) +md5sums=('e45aba8cb0ed856c8633d874a0bf1f5b') + +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" +}