summaryrefslogtreecommitdiff
path: root/system/perl-http-cookiejar/APKBUILD
blob: f7a4ff68c3ceafd5c1ec8872c999cf42c2e98775 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"