diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 00:59:01 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 00:59:01 +0000 |
commit | 853c690c923d43cc54fe515126b93b703287ecfa (patch) | |
tree | 96d32dd1881c4618d5f09cc494617931c6eb368b /user/perl-cookie-baker/APKBUILD | |
parent | 6464bd9b9b3183ae4bdd9c753e11d88b0ec61b05 (diff) | |
download | packages-853c690c923d43cc54fe515126b93b703287ecfa.tar.gz packages-853c690c923d43cc54fe515126b93b703287ecfa.tar.bz2 packages-853c690c923d43cc54fe515126b93b703287ecfa.tar.xz packages-853c690c923d43cc54fe515126b93b703287ecfa.zip |
user/perl-cookie-baker: new package
Diffstat (limited to 'user/perl-cookie-baker/APKBUILD')
-rw-r--r-- | user/perl-cookie-baker/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-cookie-baker/APKBUILD b/user/perl-cookie-baker/APKBUILD new file mode 100644 index 000000000..38a1ed0ff --- /dev/null +++ b/user/perl-cookie-baker/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-cookie-baker +_pkgname=Cookie-Baker +pkgver=0.10 +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() { + cd "$builddir" + perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="e149885b3a561436daa8663f4ab55c5ebe41b6fce6ff3332ad58f840a9bb8098e36dbbb3dc15c4ce486245d3c5669a1cc450f112cb76346280a776179d54444f Cookie-Baker-0.10.tar.gz" |