summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 660f529e565..70c17c9327e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
gitname=pdf.js
pkgname=chromium-pdfjs-git
-pkgver=v2.0.943.70.g6ebdbb244
+pkgver=2.0.943.228.g1f3e7700d
pkgrel=1
pkgdesc="PDF viewer in Javascript, packaged as a Chromium extension"
arch=('any')
@@ -18,7 +18,8 @@ sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${gitname}"
local ver="$(git describe --tags | sed 's|-|\.|g')"
- printf "%s" "${ver//-/.}"
+ ver=${ver//-/.}
+ printf "%s" "${ver#v}"
}
build() {
cd "${srcdir}/${gitname}"