summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwangjiezhe2016-08-05 19:48:34 +0800
committerwangjiezhe2016-08-05 19:48:34 +0800
commite8444a445e0fd1b70fd52349b5b3eec59f4dd5f8 (patch)
treedcb12dd8264b2ec1c5a39b41de5c367576a52f72
parent6d4a7f1e297770fcb9acd88150e4c06422a9e0d4 (diff)
downloadaur-e8444a445e0fd1b70fd52349b5b3eec59f4dd5f8.tar.gz
Fix pkgver
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f7a9c7d9a4..da0a6585f1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Aug 5 11:45:54 UTC 2016
+# Fri Aug 5 11:48:29 UTC 2016
pkgbase = libmatio-git
pkgdesc = C library with a fortran 90/95 module interface for reading/writing MATLAB MAT-files
- pkgver = v1.5.8.7.ge387271
+ pkgver = 1.5.8.7.ge387271
pkgrel = 1
url = https://github.com/tbeu/matio
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index bafbd8ff178..36168895b2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
_pkgname=libmatio
pkgname=libmatio-git
-pkgver=v1.5.8.7.ge387271
+pkgver=1.5.8.7.ge387271
pkgrel=1
pkgdesc='C library with a fortran 90/95 module interface for reading/writing MATLAB MAT-files'
arch=('x86_64' 'i686')
@@ -21,7 +21,7 @@ conflicts=("${_pkgname}")
pkgver () {
cd "${_pkgname}"
- git describe --tags | sed 's/-/./g'
+ git describe --tags | sed 's/^v//' | sed 's/-/./g'
}
build() {