Pull in all aur pkgbuilds

This commit is contained in:
Ryan Hughes committed 2025-10-26 19:37:20 -04:00
1 parent de3f952825
commit 181a9ec134
142 files changed
+3918 -14

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
pkgbase = opencode
pkgdesc = The AI coding agent built for the terminal.
pkgver = 0.15.18
pkgrel = 1
url = https://github.com/sst/opencode
arch = aarch64
arch = x86_64
license = MIT
makedepends = git
makedepends = bun-bin
makedepends = go
depends = fzf
depends = ripgrep
provides = opencode
conflicts = opencode-bin
options = !debug
options = !strip
source = opencode-0.15.18.tar.gz::https://github.com/sst/opencode/archive/v0.15.18.tar.gz
sha256sums = SKIP
pkgname = opencode
+2 -14
View File
@@ -2,7 +2,7 @@
# Maintainer: adam
pkgname='opencode'
pkgver=0.15.8
pkgver=0.15.18
options=('!debug' '!strip')
pkgrel=1
pkgdesc='The AI coding agent built for the terminal.'
@@ -14,24 +14,12 @@ conflicts=('opencode-bin')
depends=('fzf' 'ripgrep')
makedepends=('git' 'bun-bin' 'go')
source=("opencode-${pkgver}.tar.gz::https://github.com/sst/opencode/archive/v0.15.8.tar.gz")
source=("opencode-${pkgver}.tar.gz::https://github.com/sst/opencode/archive/v0.15.18.tar.gz")
sha256sums=('SKIP')
build() {
cd "opencode-${pkgver}"
bun install
# Fix for bun compile not finding platform-specific @parcel/watcher
# The compile step needs this to be explicitly installed
case "${CARCH}" in
x86_64)
bun add @parcel/watcher-linux-x64-glibc --optional
;;
aarch64)
bun add @parcel/watcher-linux-arm64-glibc --optional
;;
esac
cd packages/tui
CGO_ENABLED=0 go build -ldflags="-s -w -X main.Version=${pkgver}" -o tui cmd/opencode/main.go
cd ../opencode