Compare commits

..

2 commits

27
nginx.pagbuild Normal file
View 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
}