summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4ebd949f0547452a293fdb7a693e975196cf670 (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
# Maintainer: Snemc-s <snemc@snemc.cn>
pkgname=chat-cli-bin
pkgver=0.1.8
pkgrel=1
pkgdesc="Configurable LLM chat CLI"
arch=('x86_64')
url="https://github.com/jswysnemc/chat-cli"
license=('MIT')
depends=('gcc-libs' 'glibc' 'ripgrep')
optdepends=(
    'fzf: shell helper integration and quick switching'
    'uv: MCP servers and helper scripts that use Python tooling'
    'wl-clipboard: Wayland clipboard image/text input'
    'xclip: X11 clipboard image/text input'
)
provides=("chat-cli=${pkgver}")
conflicts=('chat-cli' 'chat-cli-git')
source=("chat-cli-bin-0.1.8.tar.gz::${url}/releases/download/v${pkgver}/chat-cli-v0.1.8-linux-x86_64.tar.gz")
sha256sums=('fd0883a3c70369d484b51cdf464413e1ba430efb468df8da21233cddacd7e1a7')

package() {
    install -Dm755 chat "${pkgdir}/usr/bin/chat"
    install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
    install -Dm644 README_zh.md "${pkgdir}/usr/share/doc/${pkgname}/README_zh.md"
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}