git » bluedevil.git » commit e9256d9

Upstream fixes

author Andrea Scarpino
2013-11-28 10:58:21 UTC
committer Andrea Scarpino
2013-11-28 10:58:21 UTC
parent 1eab9c6f4434a9f2d9a3c17d002b200b89723b6c

Upstream fixes

PKGBUILD +2 -2

diff --git a/PKGBUILD b/PKGBUILD
index c487dee..cedb132 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=bluedevil
-pkgver=2.0.gitdfbf95b
+pkgver=2.0.git1354.df662c3
 pkgrel=1
 pkgdesc='KDE bluetooth framework'
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@ md5sums=('SKIP')
 
 pkgver() {
   cd ${pkgname}
-  echo "2.0.git$(git log --pretty=format:'%h' -n 1)"
+  printf "2.0.git%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }
 
 prepare() {