summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Sinitsyn2019-02-16 01:41:24 +0300
committerBogdan Sinitsyn2019-02-16 01:41:24 +0300
commit7abc7881c64f1b4daef25a2e63bc9a5f4d886905 (patch)
treec548e5e752aecfa941a30aa39954118cb621bc55
parent7af9d231e0470fd475a7310912c82d9e04424954 (diff)
downloadaur-7abc7881c64f1b4daef25a2e63bc9a5f4d886905.tar.gz
Remove leading 'v' in version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 549af147d51..8276f424044 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = simple-viewer-gl-git
pkgdesc = Simple and tiny image viewer based on OpenGL
- pkgver = v2.92.r40.g58d2a35
+ pkgver = 3.05.r3.g4bab22c
pkgrel = 1
url = https://bitbucket.org/andreyu/simple-viewer-gl
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index ab89a353038..a8e01d0a6bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com>
pkgname=simple-viewer-gl-git
-pkgver=v3.05.r3.g4bab22c
+pkgver=3.05.r3.g4bab22c
pkgrel=1
pkgdesc='Simple and tiny image viewer based on OpenGL'
arch=('i686' 'x86_64')
@@ -42,7 +42,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build() {