summaryrefslogblamecommitdiff
path: root/user/perl-cookie-baker/APKBUILD
blob: 8b1858c1e9d374bbf8a59d4f9388c839217c43af (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                         



                               
           



                                                     
                                       
                       


                                             

                                                                                        

         




                                                                              



                    



                                                                           
                                                                                                                                                                       
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-cookie-baker
_pkgreal=Cookie-Baker
_author=KAZEBURO
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.12
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-1.0+"
depends="perl perl-uri"
checkdepends="perl-test-time"
makedepends="perl-dev perl-module-build-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="5b859652ff258b47c2078109275264e6d00619ac69b86b245c916c9b93e420ba253628df5d7d8c7a4c3321519cd63981435e571cb87ef8776ee3a94112b8c408  Cookie-Baker-0.12.tar.gz"