summaryrefslogblamecommitdiff
path: root/user/perl-regexp-pattern-license/APKBUILD
blob: bacaf03b15d66bf19fcc646c80d340dd7a94ae7d (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.10.0
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="f09164890e5c8b084d0de2a42662829e6a18759400aad3a969791b7404810df1857d9dc7c7bb443e808cda65682ff3d00f02adfe8f8f8f077359b14a0f7cdd6e  Regexp-Pattern-License-v3.10.0.tar.gz"