blob: c49ff46d857492fce63b9dcc76520b0d42fb1203 (
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
|
# Maintainer: dax
# Maintainer: adam
pkgname='opencode-bin'
pkgver=0.11.2
options=('!debug' '!strip')
pkgrel=1
pkgdesc='The AI coding agent built for the terminal.'
url='https://github.com/sst/opencode'
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('opencode')
conflicts=('opencode')
depends=('fzf' 'ripgrep')
source_aarch64=("${pkgname}_${pkgver}_aarch64.zip::https://github.com/sst/opencode/releases/download/v0.11.2/opencode-linux-arm64.zip")
sha256sums_aarch64=('e759c94eef12c7b8399a635683f95a6533f1d5c525002512f3507ea6645e2c16')
source_x86_64=("${pkgname}_${pkgver}_x86_64.zip::https://github.com/sst/opencode/releases/download/v0.11.2/opencode-linux-x64.zip")
sha256sums_x86_64=('a77c9a3952c0a0a64d46bd2373db9f3d4b31c6589bd506525556ebb99817b61e')
package() {
install -Dm755 ./opencode "${pkgdir}/usr/bin/opencode"
}
|