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



                                                                   


                               


                               
                                               

                                           

                                          
                          
                                                                                        


                                    




                                                                 



                 




                                                                                                                                                                       
# 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.04
pkgrel=1
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="e8b24b96e6630f1238e828edfbf7074fb9186a391fd1d129fb65a82748a4cf7d71669fa658c31957560a6faac3e638c8dc7aa3182acaa6fd14f0d56f3968f5e4  HTTP-Cookies-6.04.tar.gz"