blob: 890bb8548a7a27d427e7717c9145076e8c541289 (
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
|
# Maintainer: Francisco Carpio <carpiofj at gmail dot com>
pkgname=alpaca-git
_pkgname=Alpaca
pkgver=2.6.0.r8.g4c10456
pkgrel=1
pkgdesc="An Ollama client made with GTK4 and Adwaita"
arch=('any')
url="https://github.com/jeffser/Alpaca"
license=('GPL-3.0')
makedepends=('meson')
depends=(
'python-requests'
'python-pillow'
'python-pypdf'
'python-pytube'
'python-html2text'
'python-youtube-transcript-api'
'vte4'
)
optdepends=(
'ollama'
)
conflicts=('alpaca-ai')
source=("git+https://github.com/jeffser/$_pkgname.git")
md5sums=('SKIP')
build() {
cd "$srcdir/$_pkgname"
meson setup _build
meson compile -C _build
}
package() {
cd "$srcdir/$_pkgname/_build"
sudo meson install --destdir="$pkgdir"
}
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
|