diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-regexp-pattern-defhash/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-regexp-pattern-defhash/APKBUILD b/user/perl-regexp-pattern-defhash/APKBUILD new file mode 100644 index 000000000..79926fb34 --- /dev/null +++ b/user/perl-regexp-pattern-defhash/APKBUILD @@ -0,0 +1,33 @@ +# 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" |