summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtakar Jašek2020-08-30 22:28:59 +0200
committerOtakar Jašek2020-08-30 22:28:59 +0200
commitd741e0710255985e3bf817cf5ba472b6f43592ed (patch)
tree3c6612bf62583c416b53b53ab6cd73ae760003e4
parent8e17da71984f879e75ac7ac1bb9a695c4af2d6a0 (diff)
downloadaur-d741e0710255985e3bf817cf5ba472b6f43592ed.tar.gz
version fix
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5a488619eb1..c4c79b3e27f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = faiss-git
- pkgver = v1.6.1.r87.gc97f890
+ pkgver = 1.6.1.r87.gc97f890
pkgrel = 1
url = https://github.com/facebookresearch/faiss
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index abb19e827bb6..701ffbc427f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('faiss-git' 'python-faiss-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)
sha256sums=('SKIP')
@@ -16,7 +16,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'
}