upgpkg: ocaml 5.0.0-1
[arch-packages.git] / perl-business-isbn-data / trunk / PKGBUILD
blob065fa647b0b19a518410d7b39d2b9aba694b1961
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=20230331.001
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=('6529c20bb7286e1f4e74b8bfa15439e4644fd55ea79fa62e73d03dd7993bfeeb')
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"