summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Neumann2016-06-25 00:58:42 +0200
committerRichard Neumann2016-06-25 00:58:42 +0200
commitff2ac39d4bd86965a6cc3b19e7c8f6849517e8a2 (patch)
treec76f9ea7dcf30d3ee829467bd138ca6aa6cdc8b4
parent7cd672a9ee571a68cc1488b8d439fc053d5ac330 (diff)
downloadaur-ff2ac39d4bd86965a6cc3b19e7c8f6849517e8a2.tar.gz
Added contiguous versioning by adding pkgver() function
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a145364f60..1c4348063ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Apr 16 11:07:05 UTC 2016
+# Fri Jun 24 22:57:37 UTC 2016
pkgbase = libmbim-qmi-over-mbim
pkgdesc = MBIM modem protocol helper library with experimental qmi-over-mbim patch
- pkgver = 1.0.0
- pkgrel = 4
+ pkgver = 0.0.1.r325.gd36c3c7
+ pkgrel = 1
url = http://www.freedesktop.org/wiki/Software/libmbim/
arch = i686
arch = x86_64
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