summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5d7cc99d122d81b5231defbb53d276699402d0d (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
# Maintainer: Radiolin <anton.osi2011@gmail.com>

pkgname=alpaca-ai
_pkgname=alpaca
pkgver=5.0.5
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)
sha256sums=('13dd0675a9904d87c1e5ffbaabbe8ef328ddacae9052c414bdc6ccecf0962005')
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
)
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"
}