[arch-commits] Commit in nginx-mod-memc/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Jan 6 14:26:37 UTC 2020
Date: Monday, January 6, 2020 @ 14:26:37
Author: bpiotrowski
Revision: 549750
Switch to nginx-src
Modified:
nginx-mod-memc/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-06 14:25:57 UTC (rev 549749)
+++ PKGBUILD 2020-01-06 14:26:37 UTC (rev 549750)
@@ -5,16 +5,15 @@
pkgrel=5
_modname="${pkgname#nginx-mod-}"
-_nginxver=1.16.1
pkgdesc='Extended version of the standard memcached module for nginx'
arch=('x86_64')
-depends=("nginx=$_nginxver")
+depends=('nginx')
+makedepends=('nginx-src')
url="https://github.com/openresty/memc-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 <mdounin at mdounin.ru>
@@ -23,13 +22,13 @@
'8c2bdbe875e4f5225d0778bfb09a2668f9281d7de6218c7b462a7ba2cee06fe8')
build() {
- cd "$srcdir"/nginx-$_nginxver
+ 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
More information about the arch-commits
mailing list