summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <adelie@aerdan.vulpine.house>2020-02-15 00:08:13 -0500
committerKiyoshi Aman <adelie@aerdan.vulpine.house>2020-02-15 00:08:13 -0500
commit82fe5d55ccfe8afbe1c0a19faf06ceb519bbd45c (patch)
tree47b6871b85325c483caff4e16812ade6debe849c
parentc780f9f8d7184d1e316914982dbbaea0ed3c2b88 (diff)
downloadpackages-82fe5d55ccfe8afbe1c0a19faf06ceb519bbd45c.tar.gz
packages-82fe5d55ccfe8afbe1c0a19faf06ceb519bbd45c.tar.bz2
packages-82fe5d55ccfe8afbe1c0a19faf06ceb519bbd45c.tar.xz
packages-82fe5d55ccfe8afbe1c0a19faf06ceb519bbd45c.zip
user/perl-hash-fieldhash: new package
-rw-r--r--user/perl-hash-fieldhash/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/perl-hash-fieldhash/APKBUILD b/user/perl-hash-fieldhash/APKBUILD
new file mode 100644
index 000000000..6cdef3d9a
--- /dev/null
+++ b/user/perl-hash-fieldhash/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-hash-fieldhash
+pkgver=0.15
+pkgrel=0
+pkgdesc="Lightweight fields for inside-out Perl objects"
+url="https://metacpan.org/pod/Hash::FieldHash"
+arch="all"
+license="Artistic-2.0 OR GPL-2.0-only"
+depends="perl"
+checkdepends="perl-test-leaktrace"
+makedepends="perl-dev perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/G/GF/GFUJI/Hash-FieldHash-$pkgver.tar.gz"
+builddir="$srcdir/Hash-FieldHash-$pkgver"
+
+build() {
+ PERL5LIB="." perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install
+}
+
+sha512sums="2f42b0e7efdba03b99c9646882afc47130de1989777eb1ceaf8031769a3a11ebdaa841abedea8288b770aa27c44108846d0765f531a35d707e44a8c1f0f8036e Hash-FieldHash-0.15.tar.gz"