summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOtakar Jašek2020-08-30 22:27:53 +0200
committerOtakar Jašek2020-08-30 22:27:53 +0200
commit1a568a2b0b43bc203e48bb1d99d6c0aec6d675ba (patch)
tree4bbee777b66e440235bd531832d6d148d92ff593 /PKGBUILD
parent39b4fc223dc1aaecdcfb6eafc4a02bfd6a55a715 (diff)
downloadaur-1a568a2b0b43bc203e48bb1d99d6c0aec6d675ba.tar.gz
version fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8ad308347d3b..55afa12abc5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('faiss-cuda-git' 'python-faiss-cuda-git')
arch=('i686' 'x86_64')
url="https://github.com/facebookresearch/faiss"
license=('MIT')
-pkgver=v1.6.1.r87.gc97f890
+pkgver=1.6.1.r87.gc97f890
pkgrel=1
source=(${_pkgname}::git+https://github.com/facebookresearch/faiss.git
'compiler.patch')
@@ -21,7 +21,7 @@ optdepends=('intel-mkl')
pkgver() {
cd "${_pkgname}"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}