summaryrefslogblamecommitdiff
path: root/user/perl-cookie-baker/APKBUILD
blob: 2b3cebe164b425e18bbb2a8a7290e282c98a9c64 (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.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-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="0b75d9c74e1daa5d4dd63febd887e6c4825fd1df5f56335bf733b5bf2f24a56f6b76728259799aaf4dedf27efae90c238962585956608b1408a67164c3759ed2  Cookie-Baker-0.11.tar.gz"