blob: 31fd6a5cde1afab2a0090ea72f3117cf7fa0835e (
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
|
# Maintainer: drpebcak <tayworm@gmail.com>
pkgname='clio-git'
pkgver=git
pkgrel=2
pkgdesc="Your friendly and safe CLI Copilot (git build from latest commit to main)"
arch=('x86_64')
url="https://github.com/gptscript-ai/clio"
license=('Apache')
makedepends=('git' 'go')
source=('clio::git+https://github.com/gptscript-ai/clio.git#branch=main')
noextract=()
md5sums=('SKIP')
build() {
cd "clio"
export CGO_ENABLED=0
go build -o bin/clio .
}
check() {
cd "clio"
./bin/clio -v
}
package() {
cd "clio"
install -Dm755 bin/clio "$pkgdir"/usr/bin/clio
}
|