summaryrefslogtreecommitdiff
path: root/system/perl-http-cookiejar/APKBUILD
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-10-04 07:39:27 +0000
committerZach van Rijn <me@zv.io>2023-11-08 16:35:20 -0600
commit958cd7a1d6f5edfae1b345e5333fa1af9c92222b (patch)
tree0285db59aa757c55635a2211186e0d63ccda8c5b /system/perl-http-cookiejar/APKBUILD
parenta9abf5f4d46395600bd88acbc41c938d73495d68 (diff)
downloadpackages-958cd7a1d6f5edfae1b345e5333fa1af9c92222b.tar.gz
packages-958cd7a1d6f5edfae1b345e5333fa1af9c92222b.tar.bz2
packages-958cd7a1d6f5edfae1b345e5333fa1af9c92222b.tar.xz
packages-958cd7a1d6f5edfae1b345e5333fa1af9c92222b.zip
system/perl-cookiejar: new package
Diffstat (limited to 'system/perl-http-cookiejar/APKBUILD')
-rw-r--r--system/perl-http-cookiejar/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/system/perl-http-cookiejar/APKBUILD b/system/perl-http-cookiejar/APKBUILD
new file mode 100644
index 000000000..f7a4ff68c
--- /dev/null
+++ b/system/perl-http-cookiejar/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-http-cookiejar
+_pkgreal=HTTP-CookieJar
+pkgver=0.014
+pkgrel=0
+_author=DAGOLDEN
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgdesc="A minimalist HTTP user agent cookie jar implementation for Perl"
+url="https://metacpan.org/dist/HTTP-CookieJar"
+arch="all"
+license="Apache-2.0"
+depends="perl-http-date perl-uri perl"
+checkdepends="perl-test-deep perl-test-requires"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_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="98e6834574e28d8e278ba6f23817d7a4b0a072fea144f97db78e20881f622c01ddf4edff1dc5563c0fc46b22ba94fd9acfd18c9c81118c8c18c7d810f7534467 HTTP-CookieJar-0.014.tar.gz"