summaryrefslogblamecommitdiff
path: root/user/perl-regexp-pattern-license/APKBUILD
blob: 26e70d5fdd2f5360f799395bc8958f885eef84af (plain) (tree)
1
2
3
4
5
6
7
8

                                                           
                                   



                               
             




                                                       

                                                                    
                                                                           
                      
                          

                                                                                         

         




                                                                 



                 



                                                                           
                                                                                                                                                                                    
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-regexp-pattern-license
_pkgreal=Regexp-Pattern-License
_author=JONASS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.11.1
pkgrel=0
pkgdesc="Perl module for regex-matching legal licenses"
url="https://metacpan.org/pod/Regexp::Pattern::License"
arch="noarch"
license="GPL-3.0+"
depends="perl perl-re-engine-re2 perl-regexp-pattern perl-strictures
	perl-test-regexp-pattern perl-try-tiny"
checkdepends="perl-test-requires perl-test2-suite 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="11c30b9673e4d009ecb871d70345e38ce692b1c53e8614d35f8ce4e7b7edfea65c8f18880929138fc1fab6ce1dee3633bb23c06ca456c5dd81928b093c57609d  Regexp-Pattern-License-v3.11.1.tar.gz"