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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 10:22:34 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:22:34
  Author: felixonmars
Revision: 446771

archrelease: copy trunk to staging-any

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

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

Copied: perl-business-isbn/repos/staging-any/PKGBUILD (from rev 446769, perl-business-isbn/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 10:22:34 UTC (rev 446771)
@@ -0,0 +1,39 @@
+# 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=3.004
+pkgrel=9
+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=(https://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_dist}-${pkgver}.tar.gz)
+sha256sums=('31754acd57bf0c3d4762003d784bce4a0af6832a725336e219fb2988b6fb831e')
+
+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