1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/lua-resty-jwt/APKBUILD
2021-06-29 15:20:21 +02:00

22 lines
784 B
Text

# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=lua-resty-jwt
pkgver=0.2.0
pkgrel=1
pkgdesc="JSON Web Token library for OpenResty"
url="https://github.com/cdbattags/lua-resty-jwt"
# riscv64 blocked by luajit -> lua-resty-hmac
arch="noarch !riscv64"
license="BSD2"
depends="lua-resty-hmac"
source="$pkgname-$pkgver.tar.gz::https://github.com/cdbattags/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"
package() {
cd "$builddir"
mkdir -p "$pkgdir/usr/share/lua/common"
cp -r ./lib/resty "$pkgdir/usr/share/lua/common"
}
sha512sums="17b7a0251392a5e79b74a9c23ab229ab6578336148764fa489ef3add96d6b8211621ccede1c00889836567f2d09aee59f752c0a5247eaa12e2372c83f85efbb9 lua-resty-jwt-0.2.0.tar.gz"