summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRichard Neumann2016-06-25 00:58:42 +0200
committerRichard Neumann2016-06-25 00:58:42 +0200
commitff2ac39d4bd86965a6cc3b19e7c8f6849517e8a2 (patch)
treec76f9ea7dcf30d3ee829467bd138ca6aa6cdc8b4 /PKGBUILD
parent7cd672a9ee571a68cc1488b8d439fc053d5ac330 (diff)
downloadaur-ff2ac39d4bd86965a6cc3b19e7c8f6849517e8a2.tar.gz
Added contiguous versioning by adding pkgver() function
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5199f4343a7..1ce0c69136b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Richard Neumann aka. rne <r dot neumann at homeinfo fullstop de>
pkgname='libmbim-qmi-over-mbim'
-pkgver='1.0.0'
-pkgrel=4
+pkgver=0.0.1.r325.gd36c3c7
+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
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+
prepare() {
cd libmbim
git checkout qmi-over-mbim