From a119a40ac4412fc857151c96456ca774ac16cc7b Mon Sep 17 00:00:00 2001 From: svalo Date: Mon, 18 Sep 2023 11:58:31 +0200 Subject: strips 'v' from pkgver. Thanks @xiota for noticing and suggesting the fix --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index abddfb0..7193281 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = dino-git pkgdesc = Simple and modern Jabber/XMPP client written in vala - pkgver = v0.4.0.r0.g5568bbc6 + pkgver = 0.4.1.r49.g2fba24c pkgrel = 1 url = https://dino.im/ arch = i686 diff --git a/PKGBUILD b/PKGBUILD index aa01f6b..a0faca6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: svalo pkgname=dino-git -pkgver=v0.4.0.r0.g5568bbc6 +pkgver=0.4.1.r49.g2fba24c pkgrel=1 pkgdesc="Simple and modern Jabber/XMPP client written in vala" arch=('i686' 'x86_64' 'aarch64') @@ -34,7 +34,7 @@ sha512sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname%-git}" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { -- cgit v1.2.3