summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlphaJack2023-01-23 09:02:23 +0100
committerAlphaJack2023-01-23 09:02:23 +0100
commite8ebdeed78f59989dc87aee95c63e8c735190518 (patch)
treeaa2b2d034a9194b12521203f95e5a9bdb90e0b4c
parentb1ab9c184de8365185a228bfbc7ee4e28013c76d (diff)
downloadaur-beancount-import-git.tar.gz
Updated beancount-import-git to 1.3.5.r20.g59615a5, changed pkgver function
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f468a1ae4e76..60127f305554 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 624ada469e6b..f3fb31d94829 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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(){