summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b25c8164d4dbc3e134230763c3277da40ee7a98a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Daniel Hillenbrand <codeworkx at bbqlinux dot org>

_gitname=pgvecto.rs
pkgname=pgvecto.rs-bin
pkgver=0.2.1
pkgrel=1
pkgdesc="pgvecto.rs is a Postgres extension that provides vector similarity search functions. It is written in Rust and based on pgrx"
arch=('x86_64')
url="https://github.com/tensorchord/pgvecto.rs"
license=('Apache')
depends=('postgresql')
conflicts=('pgvector')

source=("${url}/releases/download/v${pkgver}/vectors-pg16_${arch}-unknown-linux-gnu_${pkgver}.zip")
sha256sums=('SKIP')



package() {
  install -Dm 755 $srcdir/vectors.so $pkgdir$(pg_config --pkglibdir)/vectors.so
  install -d $pkgdir$(pg_config --sharedir)/extension
  install -m 755 $srcdir/vectors--* $pkgdir$(pg_config --sharedir)/extension/
  install -Dm 755 $srcdir/vectors.control $pkgdir$(pg_config --sharedir)/extension/vectors.control

}