summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2dce2a54c50..e3b63754855 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer: Richard Neumann aka. rne <r dot neumann at homeinfo fullstop de>
+# Maintainer: Richard Neumann aka. schard <mail at richard dash neumann dot de>
pkgname='libmbim-qmi-over-mbim'
-pkgver='1.0.0'
-pkgrel=4
+pkgver='latest'
+pkgrel=1
pkgdesc="MBIM modem protocol helper library with experimental qmi-over-mbim patch"
arch=('i686' 'x86_64')
url='http://www.freedesktop.org/wiki/Software/libmbim/'
@@ -17,6 +17,12 @@ pkgdir='pkg'
srcdir='src'
+pkgver() {
+ cd libmbim
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+
prepare() {
cd libmbim
git checkout qmi-over-mbim