aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-uri-fromhash
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2019-04-21 22:30:28 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-22 19:51:33 +0000
commit8a5cf4e2e2bd1de5de4f17681ce321a9c2f0231f (patch)
treef2e81cc0baf9621701500fb1cd7f16fe02a154ab /testing/perl-uri-fromhash
parent027910f4a81e3b6c275963ec4d06110b7070c159 (diff)
downloadaports-8a5cf4e2e2bd1de5de4f17681ce321a9c2f0231f.tar.bz2
aports-8a5cf4e2e2bd1de5de4f17681ce321a9c2f0231f.tar.xz
testing/perl-uri-fromhash: new aport
Diffstat (limited to 'testing/perl-uri-fromhash')
-rw-r--r--testing/perl-uri-fromhash/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-uri-fromhash/APKBUILD b/testing/perl-uri-fromhash/APKBUILD
new file mode 100644
index 0000000000..8207331158
--- /dev/null
+++ b/testing/perl-uri-fromhash/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 2
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-uri-fromhash
+_pkgreal=URI-FromHash
+pkgver=0.05
+pkgrel=0
+pkgdesc="Build a URI from a set of named parameters"
+url="https://metacpan.org/release/URI-FromHash/"
+arch="noarch"
+license="Artistic-2.0"
+cpandepends="perl-params-validate perl-uri"
+cpancheckdepends="perl-test-fatal"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+checkdepends="$cpancheckdepends"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/URI-FromHash-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="6e049a1de34c7ad94305bfb36fe37a723fe3bbd3a6bd773933e4601a75bed7a7677f12b5e8559f6c6ea3fa1fd5c6296b56541be08549277123119e13692926a7 URI-FromHash-0.05.tar.gz"