diff options
author | Luis Aranguren | 2019-11-26 21:31:55 +1100 |
---|---|---|
committer | Luis Aranguren | 2019-11-26 21:31:55 +1100 |
commit | d81ce643758b490c548588154348ef4f03f436e5 (patch) | |
tree | b670adfbf81cca8d58ab89bcecc506c97fdac016 | |
parent | 1d9fca632b3795ab63f78a59eba66c3274aad1af (diff) | |
download | aur-d81ce643758b490c548588154348ef4f03f436e5.tar.gz |
4.0.0a0.git20191121.e0a3bd9, fix pkgver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = electrum-ltc-git pkgdesc = Litecoin thin client - pkgver = 3.3.8.1.git20190811.cd41861 + pkgver = 4.0.0a0.git20191121.e0a3bd9 pkgrel = 1 url = https://electrum-ltc.org/ arch = any @@ -2,7 +2,7 @@ # Contributor: lukpod <lukpod9@ya.ru> pkgname=electrum-ltc-git -pkgver=3.3.8.1.git20190811.cd41861 +pkgver=4.0.0a0.git20191121.e0a3bd9 pkgrel=1 pkgdesc='Litecoin thin client' arch=(any) @@ -50,13 +50,13 @@ optdepends=('desktop-file-utils: update desktop icon' 'xdg-utils: update desktop icon' 'zbar: QR code reading support') source=(git+https://github.com/pooler/electrum-ltc) -sha256sums=(SKIP) +sha256sums=('SKIP') provides=('electrum-ltc') conflicts=('electrum-ltc') pkgver() { cd ${pkgname%-git} - printf %s.git%s "$(grep -om1 '[0-9.]*' electrum_ltc/version.py)" \ + printf %s.git%s "$(grep -om1 "'.*'" electrum_ltc/version.py | tr -d "'" )" \ "$(git log -1 --format=%ad.%h --date=format:%Y%m%d --abbrev=7)" } |