summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoryar2019-01-27 20:55:40 -0800
committeryar2019-01-27 20:56:22 -0800
commitebf31ea101915cb72947b67fc0962a6e92d41dde (patch)
tree4e2328be9c890c6af5f9c30ab6d24d5b0dde3884 /PKGBUILD
parent1a954b80dd115543d31c3fb1d06c933c897a48de (diff)
downloadaur-chromium-pdfjs-git.tar.gz
bump 2.0.943.228.g1f3e7700d, fix version
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}"