aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-furl/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-furl/APKBUILD')
-rw-r--r--community/perl-furl/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/perl-furl/APKBUILD b/community/perl-furl/APKBUILD
new file mode 100644
index 0000000000..011e7a2dd2
--- /dev/null
+++ b/community/perl-furl/APKBUILD
@@ -0,0 +1,36 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-furl
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=Furl
+pkgver=3.13
+pkgrel=0
+pkgdesc="Lightning-fast URL fetcher"
+url="https://metacpan.org/release/Furl/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-http-parser-xs perl-class-accessor-lite perl-mozilla-ca"
+makedepends="perl-dev perl-module-build-tiny perl-module-build"
+checkdepends="perl-http-body perl-http-cookiejar perl-plack
+ perl-starlet perl-test-tcp perl-test-requires"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/Furl-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ perl Build.PL --installdirs=vendor
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install --destdir="$pkgdir"
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="9209f8953274e83687526c18131077b2f5fc39ea85240dfa8ba8263ca2f31c3b0c274de87e8c94833ec110c128154ed7b732646cfb13cc0ccc753764e2fcc548 Furl-3.13.tar.gz"