From 503ecf7ff1beb35ac11deb9a2c0a4805925ad939 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 18 Mar 2020 23:07:43 +0100 Subject: main/lua-resty-lrucache: move from testing It's needed for lua-resty-core which is needed for nginx-mod-http-lua. --- main/lua-resty-lrucache/APKBUILD | 22 ++++++++++++++++++++++ testing/lua-resty-lrucache/APKBUILD | 22 ---------------------- 2 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 main/lua-resty-lrucache/APKBUILD delete mode 100644 testing/lua-resty-lrucache/APKBUILD diff --git a/main/lua-resty-lrucache/APKBUILD b/main/lua-resty-lrucache/APKBUILD new file mode 100644 index 0000000000..01e349ab4e --- /dev/null +++ b/main/lua-resty-lrucache/APKBUILD @@ -0,0 +1,22 @@ +# Contributor: Michael Pirogov +# Maintainer: Michael Pirogov +pkgname=lua-resty-lrucache +pkgver=0.09 +pkgrel=1 +pkgdesc="Lua-land LRU Cache based on LuaJIT FFI" +url="https://github.com/openresty/lua-resty-lrucache" +arch="noarch" +license="BSD-2-Clause" +depends="luajit" +source="https://github.com/openresty/lua-resty-lrucache/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="0042f5459a5d994ad3837ceeba7884efe85d2ab7194c8b08d026418c7c81c948ae1de91628d29afde45dae44f326fc5fb295988f24e95e5398a52014af50e3e2 lua-resty-lrucache-0.09.tar.gz" diff --git a/testing/lua-resty-lrucache/APKBUILD b/testing/lua-resty-lrucache/APKBUILD deleted file mode 100644 index 01e349ab4e..0000000000 --- a/testing/lua-resty-lrucache/APKBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Contributor: Michael Pirogov -# Maintainer: Michael Pirogov -pkgname=lua-resty-lrucache -pkgver=0.09 -pkgrel=1 -pkgdesc="Lua-land LRU Cache based on LuaJIT FFI" -url="https://github.com/openresty/lua-resty-lrucache" -arch="noarch" -license="BSD-2-Clause" -depends="luajit" -source="https://github.com/openresty/lua-resty-lrucache/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="0042f5459a5d994ad3837ceeba7884efe85d2ab7194c8b08d026418c7c81c948ae1de91628d29afde45dae44f326fc5fb295988f24e95e5398a52014af50e3e2 lua-resty-lrucache-0.09.tar.gz" -- cgit v1.2.3