summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMorgenstern2020-10-21 09:58:26 +1300
committerMorgenstern2020-10-21 09:58:26 +1300
commita0dfd6b00bce5b409ace7659635e7824c06675a3 (patch)
tree03a95021a3bfd638402c2792dfb3b6039800dd61 /PKGBUILD
parenteca8e70597fc1c03c8198c7a36f99c64a8feda31 (diff)
downloadaur-a0dfd6b00bce5b409ace7659635e7824c06675a3.tar.gz
Fixed module path error
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1451ba34959e..36ac346cdbf6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=nginx-mainline-mod-fancyindex
pkgver=0.4.4
-pkgrel=2
+pkgrel=3
_modname="${pkgname#nginx-mainline-mod-}"
_nginxver=1.19.3
pkgdesc="Fancy indexes module for the Nginx web server"
@@ -29,7 +29,8 @@ build() {
}
package() {
- for _mod in "$srcdir"/nginx-"$_nginxver"/objs/*.so; do
+ cd ""$srcdir/nginx-"$_nginxver/objs"
+ for _mod in *.so; do
install -D $_mod "$pkgdir/usr/lib/nginx/modules/$_mod"
done
install -Dm644 "$srcdir/ngx-$_modname-$pkgver/LICENSE" \