diff options
author | AlphaJack | 2023-01-23 09:02:23 +0100 |
---|---|---|
committer | AlphaJack | 2023-01-23 09:02:23 +0100 |
commit | e8ebdeed78f59989dc87aee95c63e8c735190518 (patch) | |
tree | aa2b2d034a9194b12521203f95e5a9bdb90e0b4c | |
parent | b1ab9c184de8365185a228bfbc7ee4e28013c76d (diff) | |
download | aur-beancount-import-git.tar.gz |
Updated beancount-import-git to 1.3.5.r20.g59615a5, changed pkgver function
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = beancount-import-git pkgdesc = Semi-automatic importer from external data sources into beancount - pkgver = r369.59615a5 + pkgver = 1.3.5.r20.g59615a5 pkgrel = 1 url = https://github.com/jbms/beancount-import arch = any @@ -2,7 +2,7 @@ # Contributor: Carlos José Ruiz-Henestrosa Ruiz <ruizh.cj@gmail.com> pkgname="beancount-import-git" -pkgver=r369.59615a5 +pkgver=1.3.5.r20.g59615a5 pkgrel=1 pkgdesc="Semi-automatic importer from external data sources into beancount" url="https://github.com/jbms/beancount-import" @@ -25,7 +25,7 @@ sha256sums=("SKIP") pkgver(){ cd "beancount-import" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } build(){ |