# Maintainer:
pkgname=perl-http-cookies
pkgver=6.11
pkgrel=1
pkgdesc="HTTP cookie jars"
arch=('any')
url="https://search.cpan.org/dist/HTTP-Cookies"
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-http-date' 'perl-http-message')
options=('!emptydirs')
source=(https://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTTP-Cookies-$pkgver.tar.gz)
sha512sums=('3ebfa742407a623fdcb23fe7fc559a1667b9510c4c152f98c6d98bcea3df6f336183920636244cd5175b9e9ada4a599bae87433c1ea518739b4eac90a4ca5342')
build() {
cd HTTP-Cookies-$pkgver
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd HTTP-Cookies-$pkgver
make test
}
package() {
cd HTTP-Cookies-$pkgver
make DESTDIR="$pkgdir" install
}