summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorwangjiezhe2016-08-05 19:48:34 +0800
committerwangjiezhe2016-08-05 19:48:34 +0800
commite8444a445e0fd1b70fd52349b5b3eec59f4dd5f8 (patch)
treedcb12dd8264b2ec1c5a39b41de5c367576a52f72 /PKGBUILD
parent6d4a7f1e297770fcb9acd88150e4c06422a9e0d4 (diff)
downloadaur-e8444a445e0fd1b70fd52349b5b3eec59f4dd5f8.tar.gz
Fix pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bafbd8ff1780..36168895b2cc 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() {