# Contributor: Michael Pirogov # Maintainer: Michael Pirogov pkgname=lua-resty-redis pkgver=0.29 pkgrel=0 pkgdesc="Lua redis client driver for the ngx_lua based on the cosocket API" url="https://github.com/openresty/lua-resty-redis" arch="noarch !riscv64" # blocked by luajit license="BSD-2-Clause" depends="luajit" source="https://github.com/openresty/lua-resty-redis/archive/v$pkgver/lua-resty-redis-$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=" f72e28de510de7b1e9760ad8936b72b83549aa85813bcd76b2b047070cbc2f8c5aab7b0ea0374640bf6bfe7e8fe93dcea5a413825d548da1671a8b643f81362e lua-resty-redis-0.29.tar.gz "