blob: 0ff507a76e23cced62f5b601c88cdca64f38f3d9 (
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
|
# Maintainer: Matthew Sexton <matthew@asylumtech.com>
# Contributor: 0xMRTT <0xMRTT@proton.me>
pkgname=bavarder
pkgver=0.2.4
pkgrel=2
pkgdesc="Chit-Chat with AI"
arch=('any')
url="https://bavarder.codeberg.page"
license=('GPL3')
depends=(
'libadwaita'
'python-gobject'
'python-lxml'
'python-openai'
'python-hgchat'
'python-gtts'
'python-baichat-py'
'python-googlebardpy'
'python-requests'
'python-markdown'
'pymdown-extensions'
'webkitgtk-6.0'
'python-fake-useragent'
'python-curl-cffi'
)
makedepends=(
'blueprint-compiler>=0.8.1'
'meson'
)
checkdepends=('appstream-glib')
source=(${pkgname}-${pkgver}.tar.gz::https://codeberg.org/Bavarder/Bavarder/archive/${pkgver//_/-}.tar.gz)
b2sums=('49605e7145ed657c58c94cbefb5f5c52c46adb40e4a59ea53baadc0d5055e228fdb961a1c9b801a59c075aa1f44e5f0db46be9030f8e77b6a5f9c0869793639d')
build() {
arch-meson "$pkgname" build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs || :
}
package() {
meson install -C build --destdir "$pkgdir"
# fix binary permissions
chmod 0755 "$pkgdir/usr/bin/$pkgname"
}
|