diff options
Diffstat (limited to 'system/perl-http-cookiejar/APKBUILD')
-rw-r--r-- | system/perl-http-cookiejar/APKBUILD | 35 |
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" |