blob: a55365862bdb5621e7e5e275ecc78757d59967fd (
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
|
# Maintainer: Daniel Chesters <archlinux@coin-coin.xyz>
pkgname=oterm
pkgver=0.7.3
pkgrel=1
pkgdesc="A text-based terminal client for Ollama"
arch=('any')
url="https://github.com/ggozad/oterm"
license=('MIT')
depends=(
'python'
'python-ollama'
'python-rich'
'python-typer'
'python-textual'
'python-pyperclip'
'python-aiosqlite'
'python-aiosql'
'python-packaging'
'python-dotenv'
'python-linkify-it-py'
'python-rich-pixels'
'python-pillow'
'python-textualeffects'
'python-pydantic'
)
makedepends=(
'python-installer'
'uv'
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/ggozad/oterm/archive/refs/tags/$pkgver.tar.gz")
build() {
cd "$pkgname-$pkgver" || exit
uvx --from build pyproject-build --installer uv
}
package() {
cd "$pkgname-$pkgver" || exit
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python -m installer --destdir="$pkgdir" dist/*.whl
}
b2sums=('f1a11226dfef09ae33acf2cd0fa65ef6e1c5ff1ff72ce9eaffd1a1a112364581e7baa91b51d6508c9e96cf46c65fb6c97f04a9a58bf46486bc4b4682d6c592cb')
|