mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 11:19:50 +03:00
testing/raku-json-jwt: new aport
https://github.com/raku-community-modules/JSON-JWT JSON Web Token for Raku
This commit is contained in:
parent
c34a0148a2
commit
cef2291c25
1 changed files with 49 additions and 0 deletions
49
testing/raku-json-jwt/APKBUILD
Normal file
49
testing/raku-json-jwt/APKBUILD
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
|
pkgname=raku-json-jwt
|
||||||
|
pkgver=1.1.2
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="JSON Web Token for Raku"
|
||||||
|
url="https://github.com/raku-community-modules/JSON-JWT"
|
||||||
|
# armhf, armv7, x86: raku-openssl
|
||||||
|
# s390x: raku-digest-hmac & raku-mime-base64
|
||||||
|
arch="all !armhf !armv7 !x86 !s390x"
|
||||||
|
license="MIT"
|
||||||
|
depends="
|
||||||
|
rakudo
|
||||||
|
raku-digest-hmac
|
||||||
|
raku-json-fast
|
||||||
|
raku-mime-base64
|
||||||
|
raku-openssl
|
||||||
|
"
|
||||||
|
makedepends="moarvm-dev rakudo-dev"
|
||||||
|
checkdepends="perl-utils"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/raku-community-modules/JSON-JWT/archive/refs/tags/$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/JSON-JWT-$pkgver"
|
||||||
|
options="!archcheck" # Precompiled arch dependent files included (quiet noarch warning)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
RAKUDO_RERESOLVE_DEPENDENCIES=0 \
|
||||||
|
/usr/share/rakudo/tools/install-dist.raku \
|
||||||
|
--to=output --for=vendor
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
prove -e 'raku -Ilib' --ext .rakutest
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "$pkgdir"/usr/share/rakudo
|
||||||
|
cp -RT output "$pkgdir"/usr/share/rakudo/vendor
|
||||||
|
|
||||||
|
install -Dvm644 META6.json README.md \
|
||||||
|
-t "$pkgdir"/usr/share/doc/$pkgname/
|
||||||
|
|
||||||
|
install -Dvm644 LICENSE \
|
||||||
|
-t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
cb9686b9caa61c6eca1fb468d6fd1d5da2d22b0cc21298163977a2298936e5844319aa0f9c3ff95b91757ee82630b7dd4a7803baa939ef7d9291a1a36665404b raku-json-jwt-1.1.2.tar.gz
|
||||||
|
"
|
Loading…
Add table
Add a link
Reference in a new issue