diff options
-rwxr-xr-x | .SRCINFO | 15 | ||||
-rwxr-xr-x | PKGBUILD | 18 |
2 files changed, 16 insertions, 17 deletions
@@ -1,17 +1,16 @@ pkgbase = nginx-mod-echo-git pkgdesc = Nginx module that brings shell-style goodiesto nginx config file - pkgver = 0.60 - pkgrel = 3 + pkgver = 0.63 + pkgrel = 4 url = https://github.com/openresty/echo-nginx-module arch = i686 arch = x86_64 license = custom makedepends = git - depends = nginx=1.10.0 - source = https://github.com/openresty/echo-nginx-module/archive/0.60.tar.gz - source = http://nginx.org/download/nginx-1.10.0.tar.gz - md5sums = 897338c2c4bc44f2d56ae06ab9820372 - md5sums = c184c873d2798c5ba92be95ed1209c02 + depends = nginx=1.24.0 + source = git+https://github.com/openresty/echo-nginx-module.git + source = http://nginx.org/download/nginx-1.24.0.tar.gz + md5sums = SKIP + md5sums = f95835b55b3cbf05a4368e7bccbb8a46 pkgname = nginx-mod-echo-git - @@ -1,22 +1,23 @@ # Maintainer: Nissar Chababy <funilrys at outlook dot com> # Ex-Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> -_ngx_ver=1.10.0 +_ngx_ver=1.24.0 _mod_name=echo pkgname=nginx-mod-${_mod_name}-git -pkgver=0.60 -pkgrel=3 +pkgver=0.63 +pkgrel=1 pkgdesc='Nginx module that brings shell-style goodiesto nginx config file' arch=('i686' 'x86_64') url='https://github.com/openresty/echo-nginx-module' license=('custom') depends=("nginx=$_ngx_ver") makedepends=('git') -source=(https://github.com/openresty/${_mod_name}-nginx-module/archive/${pkgver}.tar.gz - http://nginx.org/download/nginx-${_ngx_ver}.tar.gz) -md5sums=('897338c2c4bc44f2d56ae06ab9820372' - 'c184c873d2798c5ba92be95ed1209c02') + +source=("git+https://github.com/openresty/${_mod_name}-nginx-module.git" + "http://nginx.org/download/nginx-${_ngx_ver}.tar.gz") +md5sums=('SKIP' + 'f95835b55b3cbf05a4368e7bccbb8a46') _ngx_flags=( --with-file-aio @@ -46,7 +47,7 @@ _ngx_flags=( pkgver() { cd ${_mod_name}-nginx-module - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' + git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { @@ -67,4 +68,3 @@ package() { sed -n '1806,1827p' "$srcdir"/${_mod_name}-nginx-module/README.markdown > \ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } - |