Date: Monday, January 6, 2020 @ 14:37:01 Author: bpiotrowski Revision: 549758
Switch to nginx-src Modified: nginx-mod-redis2/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-01-06 14:36:59 UTC (rev 549757) +++ PKGBUILD 2020-01-06 14:37:01 UTC (rev 549758) @@ -5,31 +5,30 @@ pkgrel=5 _modname="${pkgname#nginx-mod-}" -_nginxver=1.16.1 pkgdesc='Nginx upstream module for the Redis 2.0 protocol' arch=('x86_64') -depends=("nginx=$_nginxver") +depends=('nginx') +makedepends=('nginx-src') url="https://github.com/openresty/redis2-nginx-module" license=('BSD') source=( - https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc} https://github.com/openresty/$_modname-nginx-module/archive/v$pkgver/$_modname-$pkgver.tar.gz ) validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdou...@mdounin.ru> -sha256sums=('f11c2a6dd1d3515736f0324857957db2de98be862461b5a542a3ac6188dbe32b' - 'SKIP' - 'd255571bcfb9939b78099df39cb4d42f174d789aec8c8e5e47b93942b0299438') +sha256sums=('d255571bcfb9939b78099df39cb4d42f174d789aec8c8e5e47b93942b0299438') build() { - cd "$srcdir"/nginx-$_nginxver + cp -r /usr/src/nginx . + + cd "$srcdir"/nginx ./configure --with-compat --add-dynamic-module=../$_modname-nginx-module-$pkgver make modules } package() { - cd "$srcdir"/nginx-$_nginxver/objs + cd "$srcdir"/nginx/objs for mod in *.so; do install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod done