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


                                                                   
            






                                                             




                                                                                          




                                                                 



                 



                                                                           
                                                                                                                                                                          
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-regexp-pattern
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 perl-test-exception"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Regexp-Pattern-$pkgver.tar.gz"
builddir="$srcdir/Regexp-Pattern-$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"