From ae75b64e7bd7b77cd9166eeeef8c8f893f96a61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 31 Dec 2018 11:27:50 +0200 Subject: [PATCH] testing/lua-resty-jwt: new aport JSON Web Token library for OpenResty https://github.com/cdbattags/lua-resty-jwt --- testing/lua-resty-jwt/APKBUILD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testing/lua-resty-jwt/APKBUILD diff --git a/testing/lua-resty-jwt/APKBUILD b/testing/lua-resty-jwt/APKBUILD new file mode 100644 index 00000000000..8180e29f998 --- /dev/null +++ b/testing/lua-resty-jwt/APKBUILD @@ -0,0 +1,21 @@ +# Contributor: Timo Teräs +# Maintainer: Timo Teräs +pkgname=lua-resty-jwt +pkgver=0.2.0 +pkgrel=0 +pkgdesc="JSON Web Token library for OpenResty" +url="https://github.com/cdbattags/lua-resty-jwt" +arch="noarch" +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"