summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRepentinus2021-04-21 15:36:54 +0000
committerRepentinus2021-04-21 15:36:54 +0000
commit51219ac2fdfe4ebacd60d26de5862b69f2cc2d56 (patch)
treefb7ce1f40af95dfe68698dd2aa91eb217c9a72e2
parentb61197394fc529209a373e4dac1ea1af9864b80d (diff)
downloadaur-51219ac2fdfe4ebacd60d26de5862b69f2cc2d56.tar.gz
upgpkg: nginx-mod-http-xslt-filter 1.20.0.1-1
Bump to nginx=1.20.0-1 and pkgver() to make further bumps unnecessary.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fc78c9f41c8f..1565050b4b2b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nginx-mod-http-xslt-filter
pkgdesc = Transform nginx XML responses using XSLT stylesheets
- pkgver = 1.18.0
- pkgrel = 3
+ pkgver = 1.20.0.1
+ pkgrel = 1
url = https://nginx.org/en/docs/http/ngx_http_xslt_module.html
arch = x86_64
license = custom:BSD-2-Clause
diff --git a/PKGBUILD b/PKGBUILD
index d7c39c94bc8a..a47cf4ddc55b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,10 +6,11 @@
# work using the CC0 <https://creativecommons.org/publicdomain/zero/1.0/>.
pkgname='nginx-mod-http-xslt-filter'
-#pkgver=$(pacman -Si nginx-src | sed -nE 's/^Version *: ([[:alnum:]._]+).*$/\1/p')
-pkgver=1.18.0
-#pkgrel=$(pacman -Si nginx-src | sed -nE 's/^Version *: [^-]+-(.*)$/\1/p')
-pkgrel=3
+pkgver=1.20.0.1
+pkgver() {
+ pacman -Si nginx-src | sed -nE 's/^Version *: ([^-]*)-(.*)$/\1.\2/p'
+}
+pkgrel=1
pkgdesc="Transform nginx XML responses using XSLT stylesheets"
arch=('x86_64')
url='https://nginx.org/en/docs/http/ngx_http_xslt_module.html'