aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2019-05-03 10:02:12 +0300
committerTimo Teräs <timo.teras@iki.fi>2019-05-03 10:02:12 +0300
commit6cf6cd8aca86a8b0183a1d61b9df6bba3d8b37f7 (patch)
tree15cf7f1140443f85ddc00a2429115be620356793 /community
parent780f0e87847dd62f24881f3e313dced0b587c1da (diff)
downloadaports-6cf6cd8aca86a8b0183a1d61b9df6bba3d8b37f7.tar.bz2
aports-6cf6cd8aca86a8b0183a1d61b9df6bba3d8b37f7.tar.xz
community/lua-resty-session: backport from edge
Diffstat (limited to 'community')
-rw-r--r--community/lua-resty-session/APKBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/lua-resty-session/APKBUILD b/community/lua-resty-session/APKBUILD
new file mode 100644
index 0000000000..0cac69ec83
--- /dev/null
+++ b/community/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"