1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/testing/lua-resty-redis/APKBUILD
Jakub Jirutka c6001e57e2 testing/lua-resty-redis: fix dependencies and remove $provides
This module requires APIs provided by lua-nginx-module and thus it
will work on LuaJIT only. Actually, it should depend on
nginx-mod-http-lua or openresty, but I'd like to avoid creating some
open-resty like provider now.
2020-03-18 23:09:21 +01:00

22 lines
898 B
Text

# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=lua-resty-redis
pkgver=0.27
pkgrel=1
pkgdesc="Lua redis client driver for the ngx_lua based on the cosocket API"
url="https://github.com/openresty/lua-resty-redis"
arch="noarch"
license="BSD-2-Clause"
depends="luajit"
source="https://github.com/openresty/lua-resty-redis/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
options="!check" # FIXME: tests require OpenResty and additional dependencies
package() {
make install DESTDIR="$pkgdir" LUA_LIB_DIR="/usr/share/lua/common"
echo 'rock_manifest = {}' > rock_manifest
install -D -m 644 rock_manifest \
"$pkgdir"/usr/lib/luarocks/rocks-common/$pkgname/$pkgver-1
}
sha512sums="cb4fb5b5bb903c8740ac5ae75960f786039406a7e9c671c758cb25aa2fc8fdfcac351db4b2aefe73f28fd89a110b85b6ef4b9c6642ae2983f67d371c99f41bd3 lua-resty-redis-0.27.tar.gz"