Merge pull request 'Add nginx: 1.27.0 — High-performance HTTP server and reverse proxy' (#2) from add-nginx into main
Reviewed-on: #2
This commit is contained in:
commit
10a5c84b99
1 changed files with 27 additions and 0 deletions
27
nginx.pagbuild
Normal file
27
nginx.pagbuild
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
name="nginx"
|
||||||
|
version="1.27.0"
|
||||||
|
release=1
|
||||||
|
description="High-performance HTTP server and reverse proxy"
|
||||||
|
license="BSD-2-Clause"
|
||||||
|
arch="x86_64"
|
||||||
|
homepage="https://nginx.org"
|
||||||
|
|
||||||
|
source="https://nginx.org/download/nginx-1.27.0.tar.gz"
|
||||||
|
|
||||||
|
depends=("pcre2" "openssl" "zlib")
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/nginx-${version}"
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sbin-path=/usr/bin/nginx \
|
||||||
|
--conf-path=/etc/nginx/nginx.conf \
|
||||||
|
--with-http_ssl_module \
|
||||||
|
--with-http_v2_module
|
||||||
|
make -j$(nproc)
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/nginx-${version}"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue