On Thu, Nov 05, 2020 at 01:13:15PM +0800, Wei Jihui wrote:
Signed-off-by: Wei Jihui weijihuiall@163.com
pkg/nginx/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkg/nginx/PKGBUILD
diff --git a/pkg/nginx/PKGBUILD b/pkg/nginx/PKGBUILD new file mode 100644 index 00000000..b437c4b1 --- /dev/null +++ b/pkg/nginx/PKGBUILD @@ -0,0 +1,24 @@ +pkgname=nginx +pkgver=1.14 +pkgrel=2 +arch=('i386' 'x86_64' 'aarch64') +url="https://nginx.org" +license=('BSD') +depends=(pcre zlib openssl gcc) +source=("https://nginx.org/download/nginx-$%7Bpkgver%7D.#%7Bpkgrel%7D.tar.gz")
The prefix is repeated with $uri, how about just use "$uridownload/nginx-${pkgver}.#{pkgrel}.tar.gz"?
Thanks, Xijian