summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAxel Gembe2020-01-17 20:43:23 +0700
committerAxel Gembe2020-01-17 20:43:23 +0700
commit0a6def0e6b6b7f6b2844ddacc82aca7d6f333e3d (patch)
tree98e22964967146b9b7c338b7ddc60b06dab1b5e0 /PKGBUILD
parent99346570a92daddb6f602a34ea6c360b8321fcd7 (diff)
downloadaur-0a6def0e6b6b7f6b2844ddacc82aca7d6f333e3d.tar.gz
Version 1.0.r8.g74ce8d5, use git describe in pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 90e49f32789..09b522f35b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=fulcrum-git
_pkgname=${pkgname/-git/}
pkgdesc='A fast & nimble SPV server for Bitcoin Cash'
-pkgver=74ce8d5
+pkgver=1.0.r8.g74ce8d5
pkgrel=1
url='https://github.com/cculianu/Fulcrum'
arch=('any')
@@ -21,7 +21,7 @@ _qmake_args="CONFIG+=release"
pkgver() {
cd "$pkgname"
- git rev-parse --short HEAD
+ git describe --long --tags | sed 's/v\(.*\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {