summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b0c56525b964d71baecee4511116f4c1ef70f21 (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
26
27
28
29
30
31
32
33
34
35
# Maintainer: Haseeb Khalid <haseeb.k.khalid@gmail.com>
pkgname=python-velocirag
pkgver=0.7.4
pkgrel=1
pkgdesc="Lightning-fast RAG for AI agents. ONNX-powered, 4-layer fusion, MCP server. No PyTorch."
arch=('any')
url="https://github.com/HaseebKhalid1507/VelociRAG"
license=('MIT')
depends=(
    'python'
    'python-numpy'
    'python-click'
    'python-yaml'
    'python-networkx'
    'python-scikit-learn'
)
makedepends=(
    'python-build'
    'python-installer'
    'python-setuptools'
    'python-wheel'
)
source=("https://github.com/HaseebKhalid1507/VelociRAG/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('SKIP')

build() {
    cd "VelociRAG-${pkgver}"
    python -m build --wheel --no-isolation
}

package() {
    cd "VelociRAG-${pkgver}"
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}