summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f139348111f456f68e38de501696af2369a63bb2 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Maintainer: Radiolin <anton.osi2011@gmail.com>

pkgname=alpaca-ai
_pkgname=alpaca
pkgver=5.1.0
pkgrel=1
pkgdesc="An Ollama client. Chat with local AI models or connect to third party AI providers like ChatGPT , Gemini and more"
arch=(any)
url="https://github.com/Jeffser/${_pkgname%-git}"
license=(GPL-3.0-or-later)
options=(!debug)
source=($url/archive/$pkgver/$_pkgname-$pkgver.tar.gz)
b2sums=('0968ac86bf22506bb255d26566990d3c728af2b14fea2352939f74e9a0dc7a26127c630daffcd8acd67726bc8d81dce5034a8aea52c0702a983958e2ca5f8a70')
depends=(
    dconf
    gdk-pixbuf2
    glib2
    gtk4
    gtksourceview5
    hicolor-icon-theme
    libadwaita
    libspelling
    pango
    python
    python-gobject
    python-html2text
    python-matplotlib
    python-odfpy
    python-openai
    python-pillow
    python-pydantic
    python-pydbus
    python-pyicu
    python-pypdf
    python-requests
    python-youtube-transcript-api
    vte4
    hspell
)
makedepends=(
    appstream
    desktop-file-utils
    gettext
    git
    meson
)
optdepends=(
    'ollama: local ollama instance'
)

build() {
    arch-meson ${_pkgname^}-$pkgver build
    meson compile -C build
}

package() {
    meson install -C build --destdir "$pkgdir"
}