summaryrefslogblamecommitdiff
path: root/system/perl-module-scandeps/APKBUILD
blob: b17ad9c1dcff3c292510a592a6d0cb5b8a78ccad (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                                                          

                            


                               
           

                                                     
                                                  

                                           
                            

                                 
                          
                                                                                        

                                    
         

                                                                 
            

 

                 


           



                                                                           
                                                                                                                                                                          
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-module-scandeps
_pkgreal=Module-ScanDeps
_author=RSCHUPP
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.34
pkgrel=0
pkgdesc="Recursively scan Perl code for dependencies"
url="https://metacpan.org/release/Module-ScanDeps"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl-ipc-run3 perl"
checkdepends="perl-test-requires"
makedepends="perl-test-pod"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

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

check() {
	make test
}

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

sha512sums="59dac7c4b7be2dd7d2d26f2ff343fc4182cc3c3b5c3c1a0cad4f13eaa851045492b66ad06100341e0cd6bc641d9466608d327a34c0956b48fcc153071fe34082  Module-ScanDeps-1.34.tar.gz"