summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYour Name2019-02-21 23:34:19 -0500
committerYour Name2019-02-21 23:34:19 -0500
commit4c45a899876c822f423c36e78194c2428cc2a6fe (patch)
tree54bb3ec5f8d4a13ee0c9ddac4d3f76d21dc9a644
parent60804df80800df0d36ef3f8422e8825c4b36a79f (diff)
downloadaur-4c45a899876c822f423c36e78194c2428cc2a6fe.tar.gz
shorten commit hash length
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ee4111d7fd89..96b5c6851847 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Feb 22 04:17:33 UTC 2019
+# Fri Feb 22 04:34:14 UTC 2019
pkgbase = tor-git
pkgdesc = An anonymizing overlay network (development version)
- pkgver = 0.4.1.0.alpha.r86.g9ac8c8543
+ pkgver = 0.4.1.0.alpha.r86.g9ac8c85
pkgrel = 1
url = http://www.torproject.org
install = tor.install
diff --git a/PKGBUILD b/PKGBUILD
index c1ca00883115..49ff8d1ef1b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
#_malloc=jemalloc # tcmalloc
pkgname=tor-git
-pkgver=0.4.1.0.alpha.r86.g9ac8c8543
+pkgver=0.4.1.0.alpha.r86.g9ac8c85
pkgrel=1
pkgdesc="An anonymizing overlay network (development version)"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
@@ -42,7 +42,7 @@ sha256sums=('SKIP'
pkgver () {
cd tor
- git describe --long --tags origin/${_branch:-master} \
+ git describe --long --tags --abbrev=7 origin/${_branch:-master} \
|sed -e 's/[tor\|dev].//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}