diff options
author | Timo Teräs <timo.teras@iki.fi> | 2019-05-03 10:02:12 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2019-05-03 10:17:52 +0300 |
commit | 479d863a996acb02176c4d84d4014cabc319c594 (patch) | |
tree | 5d8c38b7e617dc8b2301fe4b914d0f10929f98e6 /community | |
parent | d9b97d6224eeb02af4de0de0d1c95f6c1d68b0f8 (diff) | |
download | aports-479d863a996acb02176c4d84d4014cabc319c594.tar.bz2 aports-479d863a996acb02176c4d84d4014cabc319c594.tar.xz |
community/lua-resty-session: backport from 3.9-stable
(cherry picked from commit 6cf6cd8aca86a8b0183a1d61b9df6bba3d8b37f7)
Diffstat (limited to 'community')
-rw-r--r-- | community/lua-resty-session/APKBUILD | 21 |
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" |