4.10.3-2: add gtktreeviewmodel fixes
[arch-packages.git] / perl-business-ismn / repos / extra-any / PKGBUILD
blob0fdaa62e32dfccbc494835e850820aed42fd34dd
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.202
8 pkgrel=1
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=('ca8db9253ddda906b47d5068e745b9f2a03754589455ffcf26b0706c8194db26')
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"