summaryrefslogblamecommitdiff
path: root/user/perl-regexp-pattern-defhash/APKBUILD
blob: 79926fb34fac4b152284b234c3a319390fdc4bed (plain) (tree)
































                                                                                                                                                                                  
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-regexp-pattern-defhash
_pkgreal=Regexp-Pattern-DefHash
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.001
pkgrel=0
pkgdesc="Regular expressions for DefHash"
url="https://metacpan.org/pod/Regexp::Pattern::DefHash"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/$_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="d1dc846b1c44cfc2c0d7b1e23ac8ba2b9958f2827d777890f429758570f6418eb003a9b708b733a74acea568cf08a66388800f1a950eb5b579dc3dbcad7b5593  Regexp-Pattern-DefHash-0.001.tar.gz"