diff options
author | Victor Grousset/tuxayo | 2017-04-30 17:36:01 +0200 |
---|---|---|
committer | Victor Grousset/tuxayo | 2017-04-30 17:36:01 +0200 |
commit | 58230b30e03da9fd62439a035a4d5edfc50e7d32 (patch) | |
tree | 1f0dd7c0a07d15f5a6f7c0f2446917b01c2b7e4d | |
parent | 29393525091abf2d32cd88ccc8274dca78c0e636 (diff) | |
download | aur-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-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -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 @@ -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() { |