diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:48:22 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:48:22 -0300 |
commit | 045352cb9f15fbf784cbec55d2978cab57856107 (patch) | |
tree | c1937340efcf349f6012c5102f99e1808ef69919 /testing/perl-dancer-session-cookie | |
parent | 16060c12e6b0cce4ce7913925dc3d2b4da14ef3c (diff) | |
download | aports-045352cb9f15fbf784cbec55d2978cab57856107.tar.bz2 aports-045352cb9f15fbf784cbec55d2978cab57856107.tar.xz |
testing/perl-dancer-session-cookie: fix url fix license
Diffstat (limited to 'testing/perl-dancer-session-cookie')
-rw-r--r-- | testing/perl-dancer-session-cookie/APKBUILD | 23 |
1 files changed, 10 insertions, 13 deletions
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 } |