nginx-current: correct stray $pkgname refs

This commit is contained in:
psykose 2022-04-28 02:55:52 +00:00
parent 549a34d78b
commit f8669b4ad9
Signed by: psykose
SSH key fingerprint: SHA256:HwlGVJNLZqHoOvMtkshyGaXLkcdbEJahYMlepHFL+Uk

View file

@ -1,7 +1,7 @@
# Maintainer: psykose <alice@ayaya.dev> # Maintainer: psykose <alice@ayaya.dev>
pkgname=nginx-current pkgname=nginx-current
pkgver=1.21.6 pkgver=1.21.6
pkgrel=0 pkgrel=1
pkgdesc="HTTP and reverse proxy server (current version)" pkgdesc="HTTP and reverse proxy server (current version)"
url="https://www.nginx.org/" url="https://www.nginx.org/"
arch="all" arch="all"
@ -36,7 +36,7 @@ source="https://nginx.org/download/nginx-$pkgver.tar.gz
builddir="$srcdir/nginx-$pkgver" builddir="$srcdir/nginx-$pkgver"
options="!check" # no time! options="!check" # no time!
_modules_dir="usr/lib/$pkgname/modules" _modules_dir="usr/lib/nginx/modules"
# Built-in dynamic modules # Built-in dynamic modules
for _mod in \ for _mod in \
@ -193,7 +193,7 @@ package() {
cd "$pkgdir" cd "$pkgdir"
install -Dm644 "$srcdir"/nginx.conf ./etc/nginx/nginx.conf install -Dm644 "$srcdir"/nginx.conf ./etc/nginx/nginx.conf
install -dm755 ./etc/$pkgname/http.d ./etc/nginx/modules install -dm755 ./etc/nginx/http.d ./etc/nginx/modules
install -Dm755 "$srcdir"/nginx.initd ./etc/init.d/nginx install -Dm755 "$srcdir"/nginx.initd ./etc/init.d/nginx
install -Dm644 "$srcdir"/nginx.confd ./etc/conf.d/nginx install -Dm644 "$srcdir"/nginx.confd ./etc/conf.d/nginx