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


                                                                   



                               
             

                                                                     
                                                   









                                                                              

                                                                                         

         




                                                                 



                 



                                                                           
                                                                                                                                                                              
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-app-licensecheck
_pkgreal=App-Licensecheck
_author=JONASS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.0.37
pkgrel=0
pkgdesc="Perl library and utility for checking source-file licensing"
url="https://metacpan.org/release/App-Licensecheck"
arch="noarch"
license="GPL-3.0+"
depends="perl perl-getopt-long-descriptive perl-moo perl-namespace-clean
	perl-path-iterator-rule perl-path-tiny perl-pod-constants
	perl-regexp-pattern perl-regexp-pattern-license 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"
makedepends=""
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="6053ff06162ca651cd365e8a8049d48ed0deb2dd4ec7fae5fed8e6855f5cce7310099b47cfd1ddf79ef2cecb24eea28cc90247ed3d0220589c8185ef111d45ed  App-Licensecheck-v3.0.37.tar.gz"