summaryrefslogblamecommitdiff
path: root/system/perl-http-cookies/APKBUILD
blob: f814ef9012ab2ec7af46f01bd70047a58cecb55e (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                   


                               

           
                               
                                               

                                           

                                          
                          
                                                                                        


                                    




                                                                 



                 



                                                                           
                                                                                                                                                                       
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-http-cookies
_pkgreal=HTTP-Cookies
_author=OALDERS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=6.07
pkgrel=0
pkgdesc="Perl HTTP cookie jars"
url="https://metacpan.org/release/HTTP-Cookies"
arch="noarch"
license="GPL-2.0-only or Artistic-1.0-Perl"
depends="perl-http-date perl-http-message"
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="c4026c39b38e4a24e65a52ef7ebd688c16ff71bced5938c2e9c51e4770aff272a9dca76915a4373e61cbb2c6a98257c0abde109bde7ba0b7369d5f3d69dc6b24  HTTP-Cookies-6.07.tar.gz"