summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-20 01:40:17 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit5edfd1cb3d698488d6158aa3e5dea69faef012df (patch)
tree1e8ab421ca9fa5c6f1ddfdacc1d4d06260aa002c /user
parentd7d8b3a9f8ceb17f466ede169fa0a27224554912 (diff)
downloadpackages-5edfd1cb3d698488d6158aa3e5dea69faef012df.tar.gz
packages-5edfd1cb3d698488d6158aa3e5dea69faef012df.tar.bz2
packages-5edfd1cb3d698488d6158aa3e5dea69faef012df.tar.xz
packages-5edfd1cb3d698488d6158aa3e5dea69faef012df.zip
user/perl-regexp-pattern-defhash: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-regexp-pattern-defhash/APKBUILD33
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"