nginx-current: correct stray $pkgname refs
This commit is contained in:
parent
549a34d78b
commit
f8669b4ad9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue