diff options
author | Otakar Jašek | 2020-08-30 22:28:59 +0200 |
---|---|---|
committer | Otakar Jašek | 2020-08-30 22:28:59 +0200 |
commit | d741e0710255985e3bf817cf5ba472b6f43592ed (patch) | |
tree | 3c6612bf62583c416b53b53ab6cd73ae760003e4 | |
parent | 8e17da71984f879e75ac7ac1bb9a695c4af2d6a0 (diff) | |
download | aur-d741e0710255985e3bf817cf5ba472b6f43592ed.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-git - pkgver = v1.6.1.r87.gc97f890 + pkgver = 1.6.1.r87.gc97f890 pkgrel = 1 url = https://github.com/facebookresearch/faiss arch = i686 @@ -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' } |