summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Neumann2016-06-25 01:09:49 +0200
committerRichard Neumann2016-06-25 01:09:49 +0200
commit0bee10f324df83331f786b8c08358dab64c6cb4f (patch)
treeadb0e6e42e42dd525664aa948489d2bf7853c239
parentff2ac39d4bd86965a6cc3b19e7c8f6849517e8a2 (diff)
downloadaur-0bee10f324df83331f786b8c08358dab64c6cb4f.tar.gz
Updated pkgver() function
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1c4348063ca..d43d63767d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Jun 24 22:57:37 UTC 2016
+# Fri Jun 24 23:09:34 UTC 2016
pkgbase = libmbim-qmi-over-mbim
pkgdesc = MBIM modem protocol helper library with experimental qmi-over-mbim patch
- pkgver = 0.0.1.r325.gd36c3c7
+ pkgver = r412.d36c3c7
pkgrel = 1
url = http://www.freedesktop.org/wiki/Software/libmbim/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 1ce0c69136b..28b539814e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Richard Neumann aka. rne <r dot neumann at homeinfo fullstop de>
pkgname='libmbim-qmi-over-mbim'
-pkgver=0.0.1.r325.gd36c3c7
+pkgver=r412.d36c3c7
pkgrel=1
pkgdesc="MBIM modem protocol helper library with experimental qmi-over-mbim patch"
arch=('i686' 'x86_64')
@@ -19,7 +19,7 @@ srcdir='src'
pkgver() {
cd libmbim
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}