blob: 4c2208c4208d71a566e5e2ef6d795f50048d4f52 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <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.9
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 failures
license="GPL-3.0+"
depends="perl perl-array-intspan perl-encode-locale perl-feature-compat-try
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-string-license perl-syntax-keyword-try 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
perl-test2-tools-command"
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="ef120511ce2bbf384d864bd6a72fd06fb1946d8e2fdb4d19b196a32e0b7c5207b84990fc538382b35b18cca815005c616a7bc882934e79d4fef59add9df58d96 App-Licensecheck-v3.3.9.tar.gz"
|