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

                                                                   



                               
              




                                                       

                                                                    
                      
                          

                                                                                         

         




                                                                 



                 



                                                                           
                                                                                                                                                                                     
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-regexp-pattern-license
_pkgreal=Regexp-Pattern-License
_author=JONASS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.1.102
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"
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="4f3f877eff3a3035d23d04b00ecc9e2448cf9efd5fced3d67f5babc8a60de9bc60312e59944329883508e31e70b52b2756e36955d912612eddd9d95db0738155  Regexp-Pattern-License-v3.1.102.tar.gz"