summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYusuf Aktepe2019-11-24 04:42:25 +0300
committerYusuf Aktepe2019-11-24 04:42:25 +0300
commit856ce4fb18e620daf1bcd4ddc244ba0b3136d604 (patch)
tree4cab3960da40af5e6a451c7b45fc77ecf79d29bd /PKGBUILD
parenta7ed60fc9c5d374dbe099b274aaae12307e38a87 (diff)
downloadaur-856ce4fb18e620daf1bcd4ddc244ba0b3136d604.tar.gz
pkgver: remove leading 'v'
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9b1033a26221..2d5f110d710e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_name=sxiv
pkgname="${_name}-dir-navigation-git"
-pkgver=v25.r10.g07300da
+pkgver=25.r10.g07300da
pkgrel=1
pkgdesc="Simple X Image Viewer (with patch to browse through images in working directory)"
arch=('x86_64')
@@ -21,7 +21,7 @@ sha256sums=('SKIP'
pkgver() {
cd "${_name}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {