diff options
author | Martin Dünkelmann | 2021-03-16 12:13:14 +0100 |
---|---|---|
committer | Martin Dünkelmann | 2021-03-16 12:13:14 +0100 |
commit | bf28e7b7912d1edf53c3d5c885d5306fdd798d34 (patch) | |
tree | 858608563ca22c495cb80576ea424f2e5403a82a | |
parent | 80a60f42be8b5d33326d4c6fb1d3c97dd120b165 (diff) | |
download | aur-bf28e7b7912d1edf53c3d5c885d5306fdd798d34.tar.gz |
Fix pkgver()
Removing 'v' suffix of the git tag
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = moneymanagerex-git - pkgdesc = MoneyManagerEx is an easy-to-use personal finance suite. This package will always point to the newest stable version. - pkgver = 1.3.5 - pkgrel = 8 + pkgdesc = MoneyManagerEx is an easy-to-use personal finance suite. This package will always point to the newest tagged version. + pkgver = 1.3.6 + pkgrel = 1 url = http://www.moneymanagerex.org/ arch = x86_64 license = GPL @@ -4,9 +4,9 @@ # Contributor: TDY <tdy@gmx.com> pkgname=moneymanagerex-git -pkgver=1.3.5 -pkgrel=8 -pkgdesc="MoneyManagerEx is an easy-to-use personal finance suite. This package will always point to the newest stable version." +pkgver=1.3.6 +pkgrel=1 +pkgdesc="MoneyManagerEx is an easy-to-use personal finance suite. This package will always point to the newest tagged version." arch=('x86_64') url="http://www.moneymanagerex.org/" license=('GPL') @@ -21,7 +21,7 @@ sha256sums=('SKIP') pkgver() { cd "${pkgname%-git}" - git describe --abbrev=0 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + git describe --tags --abbrev=0 | cut -c2- } prepare() { |