archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-business-issn / trunk / PKGBUILD
blobd465c929676afafe8195670a079adcf2e7f96d31
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
2 # Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
3 # Generator  : CPANPLUS::Dist::Arch 1.25
5 pkgname='perl-business-issn'
6 _dist=Business-ISSN
7 pkgver=1.005
8 pkgrel=1
9 pkgdesc="Perl package to work with International Standard Serial Numbers"
10 arch=('any')
11 url="https://metacpan.org/release/${_dist}"
12 license=('Artistic2.0')
13 depends=('perl')
14 checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
15 options=('!emptydirs')
16 source=(https://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_dist}-${pkgver}.tar.gz)
17 sha256sums=('3b09b0267f0a6660fb92b6f50c4c7796ef6a263b62ad3bbeaa07189a0c7c39b3')
19 build() {
20     cd "${srcdir}/${_dist}-${pkgver}"
21     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
22     export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
23     perl Makefile.PL
24     make
27 check() {
28     cd "${srcdir}/${_dist}-${pkgver}"
29     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
30     export PERL_MM_USE_DEFAULT=1
31     make test
34 package() {
35     cd "${srcdir}/${_dist}-${pkgver}"
36     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
37     make install INSTALLDIRS=vendor DESTDIR="$pkgdir"