aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2018-12-31 11:28:49 +0200
committerTimo Teräs <timo.teras@iki.fi>2018-12-31 11:38:48 +0200
commit2ecb961213417cec5c31f24a83302dca4dfc6514 (patch)
treed58642bcef9b16461ee975e748423d8c72b58532 /testing
parentae75b64e7bd7b77cd9166eeeef8c8f893f96a61b (diff)
downloadaports-2ecb961213417cec5c31f24a83302dca4dfc6514.tar.bz2
aports-2ecb961213417cec5c31f24a83302dca4dfc6514.tar.xz
testing/lua-resty-session: new aport
Session library for OpenResty https://github.com/bungle/lua-resty-session
Diffstat (limited to 'testing')
-rw-r--r--testing/lua-resty-session/APKBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/lua-resty-session/APKBUILD b/testing/lua-resty-session/APKBUILD
new file mode 100644
index 0000000000..0cac69ec83
--- /dev/null
+++ b/testing/lua-resty-session/APKBUILD
@@ -0,0 +1,21 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=lua-resty-session
+pkgver=2.23
+pkgrel=0
+pkgdesc="Session library for OpenResty"
+url="https://github.com/bungle/lua-resty-session"
+arch="noarch"
+license="BSD2"
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/bungle/$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="1cd2364569509a6f7be4e1ed2cdbb55d24e192bf3a55fcf9edef92a1af07d7533e7d250abb7d8b4587c5bdf582a006516264e99a350e7fc66ae47b127c40466e lua-resty-session-2.23.tar.gz"