summaryrefslogblamecommitdiff
path: root/user/perl-regexp-pattern/APKBUILD
blob: 91ee844aae62a9484a94143cce33f95dbccc2ffa (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
_pkgreal=Regexp-Pattern
_author=PERLANCAR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.2.9
pkgrel=0
pkgdesc="Perl framework for regex collection standardization"
url="https://metacpan.org/pod/Regexp::Pattern"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl-test-exception"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="5d08dad97ef9bf97a3a42132bee176b50da4cee9a399761f6189f39f70d6486a0c0915c5a00996be7d6d02092814cbd911c1d56775c72b103c511da95e9794c0  Regexp-Pattern-0.2.9.tar.gz"