From 8bd5f9b47d00b6f588e5b2bec2da6b35bdc96546 Mon Sep 17 00:00:00 2001 From: Mijagi Kutasamoto Date: Wed, 1 Jul 2026 22:18:31 +0200 Subject: [PATCH] =?UTF-8?q?Add=20nginx:=201.27.0=20=E2=80=94=20High-perfor?= =?UTF-8?q?mance=20HTTP=20server=20and=20reverse=20proxy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.pagbuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 nginx.pagbuild diff --git a/nginx.pagbuild b/nginx.pagbuild new file mode 100644 index 0000000..7a8021c --- /dev/null +++ b/nginx.pagbuild @@ -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 +}