# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-cookie-baker pkgver=0.11 pkgrel=0 pkgdesc="Cookie string generator and parser for Perl" url="https://metacpan.org/release/Cookie-Baker" arch="noarch" license="Artistic-1.0-Perl OR GPL-2.0-only" depends="perl-uri-escape" checkdepends="perl-test-time" makedepends="perl-dev perl-module-build-tiny" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/Cookie-Baker-$pkgver.tar.gz" builddir="$srcdir/Cookie-Baker-$pkgver" build() { perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="0b75d9c74e1daa5d4dd63febd887e6c4825fd1df5f56335bf733b5bf2f24a56f6b76728259799aaf4dedf27efae90c238962585956608b1408a67164c3759ed2 Cookie-Baker-0.11.tar.gz"