summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c39e0547bfb287cf01c49a256a6d3b0dc30036f (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
36
37
38
39
40
# Maintainer: Evert Vorster <superchief@evertvorster.com>

pkgname=llm-thalamus
_pkgname=llm_thalamus
pkgver=0.16
pkgrel=1
pkgdesc="Local AI controller and PySide6 UI integrating OpenMemory with Ollama"
arch=('any')
url="https://github.com/evertvorster/llm_thalamus"
license=('GPL-3.0-or-later')
depends=(
  'ollama'
  'python'
  'pyside6'               # Qt6 Python bindings (includes WebEngine bindings) :contentReference[oaicite:0]{index=0}
  'python-markdown-it-py' # markdown-it-py parser
  'python-mdit_py_plugins' 
  'python-langgraph'
  'katex'                 # provides /usr/lib/node_modules/katex/dist assets :contentReference[oaicite:1]{index=1}
  'qt6-webengine'         # underlying Qt WebEngine libs :contentReference[oaicite:2]{index=2}
  'highlightjs'           # Javascript highlighting
  'llm-thalamus-theme'    # Meta-mackage that installs a theme.
  'openmemory-backend'
)
makedepends=('python')
source=(
  "${pkgname}-${pkgver}.tar.gz::https://github.com/evertvorster/llm_thalamus/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=('6146368687421b3daf1e690a7cdc0fca17f565b8d7dd227cf29ccf47d5beaa03')

build() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  # Pure Python, nothing to build
}

package() {
  cd "${srcdir}/${_pkgname}-${pkgver}"

  # Use the project Makefile to install everything
  make DESTDIR="${pkgdir}" PREFIX=/usr install
}