Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2020-03-05 18:52:44 +03:00
parent fc32f201b9
commit c59a86073c

View File

@ -1,3 +1,7 @@
# Imported from AUR
# Maintainer: Jack L. Frost <fbt@fleshless.org>
#
# AUR credits:
# Maintainer: Jakob Riepler <aur@chaosfield.at> # Maintainer: Jakob Riepler <aur@chaosfield.at>
# Contributor: Trevor Bergeron <aur@sec.gd> # Contributor: Trevor Bergeron <aur@sec.gd>
@ -25,16 +29,16 @@ sha256sums=('SKIP'
validpgpkeys=('B0F4253373F8F6F510D42178520A9993A1C052F8') validpgpkeys=('B0F4253373F8F6F510D42178520A9993A1C052F8')
build() { build() {
cd "$srcdir"/nginx-$_nginxver cd "$srcdir/nginx-$_nginxver"
./configure --with-compat --add-dynamic-module=../$_modname-$pkgver ./configure --with-compat --add-dynamic-module="../$_modname-$pkgver"
make modules make modules
} }
package() { package() {
cd "$srcdir"/nginx-$_nginxver/objs cd "$srcdir/nginx-$_nginxver/objs"
for mod in *.so; do for mod in *.so; do
install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod install -Dm755 $mod "$pkgdir/usr/lib/nginx/modules/$mod"
done done
} }