From 045352cb9f15fbf784cbec55d2978cab57856107 Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 28 Jun 2019 00:48:22 -0300 Subject: testing/perl-dancer-session-cookie: fix url fix license --- testing/perl-dancer-session-cookie/APKBUILD | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'testing/perl-dancer-session-cookie') diff --git a/testing/perl-dancer-session-cookie/APKBUILD b/testing/perl-dancer-session-cookie/APKBUILD index a68ad784ed..b8534d8ab0 100644 --- a/testing/perl-dancer-session-cookie/APKBUILD +++ b/testing/perl-dancer-session-cookie/APKBUILD @@ -4,43 +4,40 @@ pkgname=perl-dancer-session-cookie _pkgreal=Dancer-Session-Cookie pkgver=0.27 -pkgrel=0 +pkgrel=1 pkgdesc="Encrypted cookie-based session backend for Dancer" -url="http://search.cpan.org/dist/Dancer-Session-Cookie/" +url="https://metacpan.org/release/Dancer-Session-Cookie" arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-dancer perl-session-storage-secure perl-string-crc32 perl-crypt-rijndael perl-crypt-cbc perl-time-duration-parse" -cpanmakedepends="" -cpancheckdepends="perl-test-exception perl-test-nowarnings perl-http-message perl-http-cookies perl-plack perl-http-date perl-dancer" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +cpandepends="perl-dancer perl-session-storage-secure perl-string-crc32 + perl-crypt-rijndael perl-crypt-cbc perl-time-duration-parse" +cpancheckdepends="perl-test-exception perl-test-nowarnings perl-http-message + perl-http-cookies perl-plack perl-http-date" depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } check() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } -- cgit v1.2.3