OCaml 4.14.0 rebuild
[arch-packages.git] / perl-business-isbn-data / trunk / PKGBUILD
blobdae394968d9e2f7cb83b039b6243b3d3a2092eaa
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
2 # CPAN Name  : Business::ISBN::Data
3 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
4 # Generator  : CPANPLUS::Dist::Arch 1.29
6 pkgname=perl-business-isbn-data
7 _dist=Business-ISBN-Data
8 pkgver=20210112.006
9 pkgrel=1
10 pkgdesc='Data pack for Business::ISBN'
11 arch=('any')
12 url="https://metacpan.org/release/${_dist}"
13 license=('PerlArtistic')
14 depends=('perl')
15 checkdepends=('perl-test-pod')
16 options=(purge '!emptydirs')
17 source=(https://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_dist}-${pkgver}.tar.gz)
18 sha256sums=('98c2cfb266b5fdd016989abaa471d9dd4c1d593c508a6f01f66d184d5fee8bae')
20 build() {
21         cd "${srcdir}/${_dist}-${pkgver}"
22         unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
23         export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
24         perl Makefile.PL
25         make
28 check() {
29         cd "${srcdir}/${_dist}-${pkgver}"
30         unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
31         export PERL_MM_USE_DEFAULT=1
32         make test
35 package() {
36         cd "${srcdir}/${_dist}-${pkgver}"
37         unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
38         make install INSTALLDIRS=vendor DESTDIR="$pkgdir"