summaryrefslogblamecommitdiff
path: root/user/perl-app-licensecheck/APKBUILD
blob: 6f66fc5ae9a8adb6aa76274d7d192fe18575f4e8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                 
                                                          
                             



                               
            

                                                                     
                                                   
             
                                        
                  
                                                   








                                                                                
                      
                          

                                                                                         

         




                                                                 



                 



                                                                           
                                                                                                                                                                             
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-app-licensecheck
_pkgreal=App-Licensecheck
_author=JONASS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.3.0
pkgrel=0
pkgdesc="Perl library and utility for checking source-file licensing"
url="https://metacpan.org/release/App-Licensecheck"
arch="noarch"
options="!check" # spurious test failure
license="GPL-3.0+"
depends="perl perl-array-intspan perl-encode-locale
	perl-getopt-long-descriptive perl-io-interactive perl-list-someutils
	perl-log-any perl-log-any-adapter-screen perl-moo perl-moox-struct
	perl-namespace-clean perl-object-pad perl-path-iterator-rule
	perl-path-tiny perl-pod-constants perl-pod-parser perl-regexp-pattern
	perl-regexp-pattern-license perl-re-engine-re2 perl-software-license
	perl-sort-key perl-strictures perl-string-copyright perl-string-escape
	perl-test-requires perl-test-script perl-try-tiny perl-universal-require
	perl-xs-parse-keyword perl-xs-parse-sublike"
checkdepends="perl-test-command-simple perl-pod-parser perl-test-without-module"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-v$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-v$pkgver"

build() {
	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="ade4c9bba2afdd2c210412e903ca41dec4079d3af3500ecb88d5abc6aca293bfb5ef1805110901053ab99f8d74000f036d06f129943bac1fd94091a00e43f3ec  App-Licensecheck-v3.3.0.tar.gz"