sbcl 2.1.11 rebuild
[arch-packages.git] / perl-business-ismn / trunk / PKGBUILD
blob8987802bb43cee3f0e7a9e42a22dc8585b9225a1
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
2 # Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3 # Generator  : CPANPLUS::Dist::Arch 1.29
5 pkgname='perl-business-ismn'
6 _dist=Business-ISMN
7 pkgver=1.201
8 pkgrel=5
9 pkgdesc="Perl package to work with International Standard Music Numbers"
10 arch=('any')
11 url="https://metacpan.org/release/${_dist}"
12 license=('Artistic2.0')
13 depends=('perl' 'perl-tie-cycle>=1.21')
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=('4a3231a16456bf8cbf17f26b65243f247078b5145d9a03aa7586baf09577ecb2')
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"