aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-module-scandeps/APKBUILD
blob: 731fefde5f33cb3ead3881b41abbcee8348fb564 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      
                                                          
                            
                                                              
                        

           
                                                     
                                                   
             
                                               
              

                                 
                          
                                                                                         
                                    
 
         
                                                                
                                                                     
            

 
         
                                                                

                 
 
           
                                      


                                                                           
                                                                                                                                                                          
# Automatically generated by apkbuild-cpan, template 3
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-module-scandeps
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Module-ScanDeps
pkgver=1.30
pkgrel=0
pkgdesc="Recursively scan Perl code for dependencies"
url="https://metacpan.org/release/Module-ScanDeps/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
checkdepends="perl-test-requires"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-$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="4813dd38e6defc2576b802f5fda2712f06cc6c763f06aa82115957f2b6eed36a14cd835669c46acc5ec9afd5a74c750b3f0f9a574471017e7a58fefede5311ac  Module-ScanDeps-1.30.tar.gz"