Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages /
opencode
Commits:
4198cf79 by Carl Smedstad at 2026-02-03T11:56:14+01:00
upgpkg: 1.1.49-4: Install shell completions
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = opencode
pkgdesc = The open source coding agent
pkgver = 1.1.49
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/anomalyco/opencode
arch = x86_64
license = MIT
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=opencode
pkgver=1.1.49
-pkgrel=3
+pkgrel=4
pkgdesc='The open source coding agent'
arch=('x86_64')
url='https://github.com/anomalyco/opencode'
@@ -52,4 +52,9 @@ package() {
cd $pkgname
install -vDm755 -t "$pkgdir/usr/bin"
packages/opencode/dist/opencode-linux-*/bin/opencode
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+ SHELL=/bin/bash "$pkgdir/usr/bin/opencode" completion \
+ | install -vDm644 /dev/stdin
"$pkgdir/usr/share/bash-completion/completions/opencode"
+ SHELL=/bin/zsh "$pkgdir/usr/bin/opencode" completion \
+ | install -vDm644 /dev/stdin
"$pkgdir/usr/share/zsh/site-functions/_opencode"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/opencode/-/commit/4198cf7935d7e59dffae5f371af21f182bc771cf
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/opencode/-/commit/4198cf7935d7e59dffae5f371af21f182bc771cf
You're receiving this email because of your account on gitlab.archlinux.org.