diff options
author | Andrii Zymohliad | 2023-09-30 08:46:32 +0300 |
---|---|---|
committer | Andrii Zymohliad | 2023-09-30 08:46:32 +0300 |
commit | f736795657e181e25f957b186ddd1692349a9d0f (patch) | |
tree | 69ca22092550d364f7fe53f71255c401146da35e | |
parent | 5729ad26c3bad7621a5cf255344039499e893a27 (diff) | |
download | aur-f736795657e181e25f957b186ddd1692349a9d0f.tar.gz |
Update pkgver() to strip "v" from the tag
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = watchmate-git pkgdesc = InfiniTime smart watch companion app - pkgver = v0.1.0 - pkgrel = 2 + pkgver = 0.1.0 + pkgrel = 1 url = https://github.com/azymohliad/watchmate arch = any license = GPL @@ -1,7 +1,7 @@ # Maintainer: Andrii Zymohliad <azymohliad@pm.me> pkgname=watchmate-git -pkgver=v0.1.0 -pkgrel=2 +pkgver=0.4.5.r0.3fb3fa8 +pkgrel=1 pkgdesc='InfiniTime smart watch companion app' arch=('any') url='https://github.com/azymohliad/watchmate' @@ -15,7 +15,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" - printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + printf "%s" "$(git describe --long | sed 's/v//g;s/\([^-]*-\)g/r\1/;s/-/./g')" } build() { |