summaryrefslogblamecommitdiff
path: root/user/perl-test-regexp-pattern/APKBUILD
blob: 5e7b954d8b2867c0ea31a3fcbeb50c6982dc4416 (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-test-regexp-pattern
_pkgreal=Test-Regexp-Pattern
_author=PERLANCAR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.009
pkgrel=0
pkgdesc="Perl module for testing regular expression patterns"
url="https://metacpan.org/pod/Test::Regexp::Pattern"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-hash-defhash perl-regexp-pattern"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/Test-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="7a25c84f32117c036de33d2cc943dc3adca972d576b11bbd4d3e1afbb86b9fef098eb50dd90487ea392807ef52ed256be41fb3d6a773aab6ef1c249455c9a859  Test-Regexp-Pattern-0.009.tar.gz"