aboutsummaryrefslogblamecommitdiffstats
path: root/community/perl-business-isbn/APKBUILD
blob: dc77c1f5e7f4c2e6f9d21af3d3ac74a73a1629e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      


                                                           
                                                              
                      
            
        
                                                       
                                                 
             

                                      
                          
                                                                                     

                                    
         
                                                                

                                                                     

 
         
                                                                
                 


           
                                      


                                                                           
 


                                                                                                                                                            
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-business-isbn
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Business-ISBN
pkgver=3.007
pkgrel=0
pkgdesc="work with International Standard Book Numbers"
url="https://metacpan.org/release/Business-ISBN/"
arch="noarch"
license="Artistic-2.0"
depends="perl perl-business-isbn-data"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}


sha512sums="
ade8f846bc912edce9b1423d7dc12fd692377b0be9debc4e999ed520211306f4c344c3c7711283c9f77072707e97896b8f58b86e059798a09a8aeebf0668dab6  Business-ISBN-3.007.tar.gz
"