From 9e53f1f7ce3074e13c73b02486735ce4187f92c3 Mon Sep 17 00:00:00 2001 From: Olivier CHURLAUD Date: Fri, 5 Feb 2016 16:17:06 +0100 Subject: [PATCH] correction of pkgver --- .SRCINFO | 2 +- PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 7fa5a0d..94362a7 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Tue Feb 2 22:00:47 UTC 2016 +# Fri Feb 5 15:17:02 UTC 2016 pkgbase = quodlibet-git pkgdesc = An audio library tagger, manager and player pkgver = 093e5f4 diff --git a/PKGBUILD b/PKGBUILD index 61dd9fa..05828ed 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -44,6 +44,6 @@ package() { pkgver() { cd ${pkgname} - git log -1 --pretty=format:%h + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" }