summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Grousset/tuxayo2017-04-30 17:36:01 +0200
committerVictor Grousset/tuxayo2017-04-30 17:36:01 +0200
commit58230b30e03da9fd62439a035a4d5edfc50e7d32 (patch)
tree1f0dd7c0a07d15f5a6f7c0f2446917b01c2b7e4d
parent29393525091abf2d32cd88ccc8274dca78c0e636 (diff)
downloadaur-58230b30e03da9fd62439a035a4d5edfc50e7d32.tar.gz
update to 1.0.1.4.r945.g6708db83b + improve pkgver()
To have a better handling of the revision. Now it is also updated by pkgver()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f977fdf730e9..160af1aa24e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bitcoind-unlimited-git
pkgdesc = Bitcoin Unlimited versions of bitcoind, bitcoin-cli, and bitcoin-tx
- pkgver = 1.0.1.4.r944
+ pkgver = 1.0.1.4.r945.g6708db83b
pkgrel = 1
url = http://www.bitcoinunlimited.info
install = bitcoin.install
diff --git a/PKGBUILD b/PKGBUILD
index 801e73555a18..770620bbd2c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,9 @@
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=bitcoind-unlimited-git
-pkgver=1.0.1.4.r944
+pkgver=1.0.1.4.r945.g6708db83b
+# ↓to be used in pkgver() where we need version without git revision
+upstream_release_version=1.0.1.4
pkgrel=1
pkgdesc="Bitcoin Unlimited versions of bitcoind, bitcoin-cli, and bitcoin-tx"
arch=('i686' 'x86_64' 'armv7h')
@@ -45,7 +47,7 @@ pkgver() {
# The latest version was not tagged, so throw away the version we get
# from the top-most tag, but keep, the commit hash
# https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver.28.29_function
- git describe --long | sed "s/^v[^-]\+-\([0-9]\+\)/$pkgver/;s/-/./g"
+ git describe --long | sed "s/^v[^-]\+-\([0-9]\+\)/$upstream_release_version.r\1/;s/-/./g"
}
build() {