summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLuis Aranguren2019-04-04 17:29:50 +1100
committerLuis Aranguren2019-04-04 17:29:50 +1100
commit0b5f767b329e82d2baffc9c330f46d652397bc4d (patch)
treee1b2d69aba423ad479327e7d3b5d4f439c1786dd /PKGBUILD
parente795708e49d7048661cc696a2280327b17434081 (diff)
downloadaur-0b5f767b329e82d2baffc9c330f46d652397bc4d.tar.gz
update pkgver to 0.6.beta.rc2.r0.g3a19afe4 and enabled regular versioning
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5a7c0337fc40..6842e541614d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,7 @@
# Upstream: https://github.com/lightningnetwork/lnd
pkgname=('lnd-git')
-pkgver=0.5.2.beta.r6512.c1228ae1
-_pkgver=0.5.2.beta.
+pkgver=v0.6.beta.rc2.r0.g3a19afe4
pkgrel=1
pkgdesc='The Lightning Network Daemon, for secure off-chain bitcoin transactions.'
arch=('x86_64')
@@ -21,9 +20,7 @@ md5sums=('SKIP')
pkgver() {
cd $pkgname
-# Disabled until upstream goes back to regular versioning
-# git describe --tags | sed 's/^v//;s/-/./g'
- printf "${_pkgver}r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {