summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian 'Swift Geek' Grzywna2019-08-10 21:14:22 +0200
committerSebastian 'Swift Geek' Grzywna2019-08-10 21:15:16 +0200
commit468d920f69e6bc959ab87346790c1c49ff6cb360 (patch)
tree9a06e6ee7fc16526a79f84fa9049e163a5f2c421
parent6c1295bca53b32dc3f246cabd325a649b58f3559 (diff)
downloadaur-baidudl-git.tar.gz
Fix pkgver
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 550bb6f976d..dd1fcd54ef4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
- git rev-parse --short HEAD # Fix to better comply with github display
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {