This commit is contained in:
Lain Iwakura 2025-01-22 23:04:29 -03:00
parent f0c657a735
commit 333d10608a
Signed by: lain
GPG key ID: 89686F4239E80508
2 changed files with 9 additions and 6 deletions

View file

@ -1,6 +1,6 @@
pkgbase = nginx-mainline-mod-lua-git pkgbase = nginx-mainline-mod-lua-git
pkgdesc = Lua script engine module for mainline nginx pkgdesc = Lua script engine module for mainline nginx
pkgver = v0.10.16.r379.g950b1fb2 pkgver = v0.10.28.r0.g5bd471a4
pkgrel = 1 pkgrel = 1
epoch = 1 epoch = 1
url = https://github.com/openresty/lua-nginx-module url = https://github.com/openresty/lua-nginx-module
@ -10,9 +10,11 @@ pkgbase = nginx-mainline-mod-lua-git
makedepends = nginx-mainline-src makedepends = nginx-mainline-src
depends = nginx-mainline depends = nginx-mainline
depends = nginx-mainline-mod-ndk depends = nginx-mainline-mod-ndk
depends = luajit depends = luajit-openresty
depends = lua-resty-core depends = lua-resty-core
depends = pcre depends = pcre
provides = nginx-mainline-mod-lua
conflicts = nginx-mainline-mod-lua
source = git+https://github.com/openresty/lua-nginx-module/ source = git+https://github.com/openresty/lua-nginx-module/
sha256sums = SKIP sha256sums = SKIP

View file

@ -3,22 +3,23 @@
pkgname=nginx-mainline-mod-lua-git pkgname=nginx-mainline-mod-lua-git
_modname="lua" _modname="lua"
pkgver=v0.10.16.r379.g950b1fb2 pkgver=v0.10.28.r0.g5bd471a4
pkgrel=1 pkgrel=1
epoch=1 epoch=1
pkgdesc='Lua script engine module for mainline nginx' pkgdesc='Lua script engine module for mainline nginx'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
depends=('nginx-mainline' 'nginx-mainline-mod-ndk' 'luajit' 'lua-resty-core' 'pcre') depends=('nginx-mainline' 'nginx-mainline-mod-ndk' 'luajit-openresty' 'lua-resty-core' 'pcre')
makedepends=('nginx-mainline-src') makedepends=('nginx-mainline-src')
url="https://github.com/openresty/lua-nginx-module" url="https://github.com/openresty/lua-nginx-module"
license=('BSD') license=('BSD')
conflicts=(nginx-mainline-mod-lua)
provides=(nginx-mainline-mod-lua)
source=(git+https://github.com/openresty/$_modname-nginx-module/) source=(git+https://github.com/openresty/$_modname-nginx-module/)
sha256sums=('SKIP') sha256sums=('SKIP')
pkgver() { pkgver() {
cd "$_modname-nginx-module" cd "$_modname-nginx-module"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
} }
prepare() { prepare() {