summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPier Luigi Fiorini2017-11-25 22:44:39 +0100
committerPier Luigi Fiorini2017-11-25 22:44:39 +0100
commit13dec8a33616c5c235afffe32d69dab2e29b5c98 (patch)
tree952e86a484f613d08a786d105ba5f1ed8eaee946 /PKGBUILD
parent7af939173c86c09f831a640bd8963ca6e8456ede (diff)
downloadaur-13dec8a33616c5c235afffe32d69dab2e29b5c98.tar.gz
Add number of commits
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 59d64569b08..dde8b20e006 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${_gitname}
- echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")"
+ echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git rev-list --count HEAD).$(git log -1 --format="%h")"
}
prepare() {