db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / perl-business-isbn / trunk / PKGBUILD
blob2dca125f24fdf549b6ff1d833d683c70db2a79d9
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
2 # CPAN Name  : Business::ISBN
3 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
4 # Generator  : CPANPLUS::Dist::Arch 1.29
6 pkgname=perl-business-isbn
7 _dist=Business-ISBN
8 pkgver=3.008
9 pkgrel=1
10 pkgdesc='Perl package to work with International Standard Book Numbers'
11 arch=('any')
12 url="https://metacpan.org/release/${_dist}"
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-business-isbn-data')
15 optdepends=('perl-libwww: for access to the xISBN service')
16 checkdepends=('perl-test-pod')
17 options=(!emptydirs)
18 source=(https://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_dist}-${pkgver}.tar.gz)
19 sha256sums=('19c4a1d4d99a0dd7695a90192b13404a0e3eeebedfcbe97a0202e36b238c0e69')
21 build() {
22         cd "${srcdir}/${_dist}-${pkgver}"
23         unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
24         export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
25         perl Makefile.PL
26         make
29 check() {
30         cd "${srcdir}/${_dist}-${pkgver}"
31         unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
32         export PERL_MM_USE_DEFAULT=1
33         make test
36 package() {
37         cd "${srcdir}/${_dist}-${pkgver}"
38         unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
39         make install INSTALLDIRS=vendor DESTDIR="$pkgdir"