diff options
author | Otakar Jašek | 2020-08-30 22:27:53 +0200 |
---|---|---|
committer | Otakar Jašek | 2020-08-30 22:27:53 +0200 |
commit | 1a568a2b0b43bc203e48bb1d99d6c0aec6d675ba (patch) | |
tree | 4bbee777b66e440235bd531832d6d148d92ff593 | |
parent | 39b4fc223dc1aaecdcfb6eafc4a02bfd6a55a715 (diff) | |
download | aur-1a568a2b0b43bc203e48bb1d99d6c0aec6d675ba.tar.gz |
version fix
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ pkgbase = faiss-cuda-git - pkgver = v1.6.1.r87.gc97f890 + pkgver = 1.6.1.r87.gc97f890 pkgrel = 1 url = https://github.com/facebookresearch/faiss arch = i686 @@ -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' } |