aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/perl-json-webtoken/APKBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/community/perl-json-webtoken/APKBUILD b/community/perl-json-webtoken/APKBUILD
index 39bc4c863d..ee6efd76d3 100644
--- a/community/perl-json-webtoken/APKBUILD
+++ b/community/perl-json-webtoken/APKBUILD
@@ -3,39 +3,34 @@
pkgname=perl-json-webtoken
_pkgname=JSON-WebToken
pkgver=0.10
-pkgrel=1
+pkgrel=2
pkgdesc="JSON Web Token (JWT) implementation for Perl"
url="https://github.com/xaicron/p5-JSON-WebToken"
arch="noarch"
-license="PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl-json perl-module-runtime perl-mime-base64 perl-carp"
-makedepends="perl-dev perl-module-build perl-json perl-module-runtime perl-test-requires
- perl-crypt-openssl-rsa perl-crypt-openssl-bignum perl-test-mock-guard
- perl-class-load"
+makedepends="perl-dev perl-module-build perl-test-requires perl-crypt-openssl-rsa
+ perl-crypt-openssl-bignum perl-test-mock-guard perl-class-load"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/X/XA/XAICRON/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- perl Build.PL --installdirs=vendor || return 1
+ perl Build.PL --installdirs=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
check() {
- cd "$builddir"
- ./Build test
+ ./Build test
}
package() {
- cd "$builddir"
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}