summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 01:45:08 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 01:45:08 +0000
commitb34de8b00a47547d8a05baf4d6ae6d1704262b61 (patch)
tree5facad6d1826b4859ff8a742a2ad0caa91a168f9 /user
parent2287dd2e212fd610e939bf2e1e2bc0faaf2f316e (diff)
downloadpackages-b34de8b00a47547d8a05baf4d6ae6d1704262b61.tar.gz
packages-b34de8b00a47547d8a05baf4d6ae6d1704262b61.tar.bz2
packages-b34de8b00a47547d8a05baf4d6ae6d1704262b61.tar.xz
packages-b34de8b00a47547d8a05baf4d6ae6d1704262b61.zip
user/perl-hash-multivalue: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-hash-multivalue/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-hash-multivalue/APKBUILD b/user/perl-hash-multivalue/APKBUILD
new file mode 100644
index 000000000..c1fa7dac2
--- /dev/null
+++ b/user/perl-hash-multivalue/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-hash-multivalue
+_pkgname=Hash-MultiValue
+pkgver=0.16
+pkgrel=0
+pkgdesc="Multi-hash implementation for Perl"
+url="https://metacpan.org/release/Hash-MultiValue"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/Hash-MultiValue-$pkgver.tar.gz"
+builddir="$srcdir/Hash-MultiValue-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="a6e1cab00ff24492bc84343b83a1282ad0eaded6633e7c511389dfb1d21cd8987dc2f1ad9ab69df69f36b651d68c70df3160666ff9ee584dbb1b6ab7095b78ac Hash-MultiValue-0.16.tar.gz"