Compare commits
2 commits
940b634782
...
10a5c84b99
| Author | SHA1 | Date | |
|---|---|---|---|
| 10a5c84b99 | |||
|
|
8bd5f9b47d |
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