summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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'