[arch-commits] Commit in perl-business-isbn-data/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Aug 1 08:59:24 UTC 2018
Date: Wednesday, August 1, 2018 @ 08:59:24
Author: felixonmars
Revision: 329926
archrelease: copy trunk to staging-any
Added:
perl-business-isbn-data/repos/staging-any/
perl-business-isbn-data/repos/staging-any/PKGBUILD
(from rev 329925, perl-business-isbn-data/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: perl-business-isbn-data/repos/staging-any/PKGBUILD (from rev 329925, perl-business-isbn-data/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2018-08-01 08:59:24 UTC (rev 329926)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at 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=4
+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"
+}
More information about the arch-commits
mailing list