diff options
author | Chocobo1 | 2023-09-13 05:22:50 +0800 |
---|---|---|
committer | Chocobo1 | 2023-09-13 05:22:50 +0800 |
commit | a9b35523e419fc0410a3ce96f5c9fee8ec5ed797 (patch) | |
tree | 1d4222aab2876bad620858fbd0ce5f4341a09e58 | |
parent | d014ff83398b26bf5a5ba5d616f5a735561983f5 (diff) | |
download | aur-mercurial-hg.tar.gz |
upgpkg: mercurial-hg r49336.290c29df1915-2
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = mercurial-hg pkgdesc = Distributed source control management tool pkgver = r49336.290c29df1915 - pkgrel = 1 + pkgrel = 2 url = https://www.mercurial-scm.org/ arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=mercurial-hg pkgver=r49336.290c29df1915 -pkgrel=1 +pkgrel=2 pkgdesc="Distributed source control management tool" arch=('i686' 'x86_64') url="https://www.mercurial-scm.org/" @@ -22,7 +22,9 @@ sha256sums=('SKIP' pkgver() { cd "hg" - printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" + _rev=$(hg identify -n) + _hash=$(hg identify -i) + printf "r%s.%s" "$_rev" "$_hash" } build() { |