feat: Update openwork to 0.3.6, refine PKGBUILD's .deb extraction, and add Arch installation instructions to the README. (#239)

This commit is contained in:
Porker Roland
2026-01-24 16:35:25 +00:00
committed by GitHub
parent bd31876f51
commit 6f5dfdb70d
3 changed files with 48 additions and 31 deletions

View File

@@ -93,6 +93,12 @@ pnpm dev
pnpm dev:ui pnpm dev:ui
``` ```
### Arch Users:
```bash
yay -s opencode # Releases version
```
## Architecture (high-level) ## Architecture (high-level)
- In **Host mode**, OpenWork spawns: - In **Host mode**, OpenWork spawns:
@@ -150,6 +156,7 @@ pnpm test:e2e
## Troubleshooting ## Troubleshooting
### Linux / Wayland (Hyprland) ### Linux / Wayland (Hyprland)
If OpenWork crashes on launch with WebKitGTK errors like `Failed to create GBM buffer`, disable dmabuf or compositing before launch. Try one of the following environment flags. If OpenWork crashes on launch with WebKitGTK errors like `Failed to create GBM buffer`, disable dmabuf or compositing before launch. Try one of the following environment flags.
```bash ```bash

View File

@@ -1,19 +1,20 @@
pkgbase = openwork pkgbase = openwork
pkgdesc = An Open source alternative to Claude Cowork pkgdesc = An Open source alternative to Claude Cowork
pkgver = 0.3.5 pkgver = 0.3.6
pkgrel = 1 pkgrel = 2
url = https://github.com/different-ai/openwork url = https://github.com/different-ai/openwork
arch = x86_64 arch = x86_64
license = MIT license = MIT
depends = gtk3 depends = gtk3
depends = glib2 depends = glib2
depends = libayatana-appindicator depends = libayatana-appindicator
depends = libsoup3 depends = libsoup3
depends = webkit2gtk-4.1 depends = webkit2gtk-4.1
depends = openssl depends = openssl
depends = dbus depends = dbus
depends = librsvg depends = librsvg
source = openwork-desktop-linux-amd64.deb::https://github.com/different-ai/openwork/releases/download/v0.3.5/openwork-desktop-linux-amd64.deb noextract = openwork-0.3.6.deb
sha256sums = 01b7f2fe78d870143b7b370e1b569cea218bfaa0549c4af32ab495a5ee3d349f source = openwork-0.3.6.deb::https://github.com/different-ai/openwork/releases/download/v0.3.6/openwork-desktop-linux-amd64.deb
sha256sums = 991cd6f6eaa3d871de42b6016b58c69360fceeea4f23a9c82b0101a98252b6c8
pkgname = openwork pkgname = openwork

View File

@@ -1,23 +1,32 @@
pkgname=openwork pkgname=openwork
pkgver=0.3.5 pkgver=0.3.6
pkgrel=1 pkgrel=2 # pkgrel should change when PKGBUILD does. Standard is to change back to 1 next time. Any interger is valid.
pkgdesc="An Open source alternative to Claude Cowork" pkgdesc="An Open source alternative to Claude Cowork"
arch=('x86_64') arch=('x86_64')
url="https://github.com/different-ai/openwork" url="https://github.com/different-ai/openwork"
license=('MIT') license=('MIT')
depends=( depends=('gtk3' 'glib2' 'libayatana-appindicator' 'libsoup3' 'webkit2gtk-4.1' 'openssl' 'dbus' 'librsvg')
'gtk3'
'glib2' # Renaming to ${pkgname}-${pkgver}.deb
'libayatana-appindicator' source=("${pkgname}-${pkgver}.deb::${url}/releases/download/v${pkgver}/openwork-desktop-linux-amd64.deb")
'libsoup3' sha256sums=('991cd6f6eaa3d871de42b6016b58c69360fceeea4f23a9c82b0101a98252b6c8')
'webkit2gtk-4.1' # Makes sure makepkg doesn't extract the .deb since it will break
'openssl' noextract=("${pkgname}-${pkgver}.deb")
'dbus'
'librsvg'
)
source=("openwork-desktop-linux-amd64.deb::https://github.com/different-ai/openwork/releases/download/v${pkgver}/openwork-desktop-linux-amd64.deb")
sha256sums=('01b7f2fe78d870143b7b370e1b569cea218bfaa0549c4af32ab495a5ee3d349f')
package() { package() {
bsdtar -xf "${srcdir}/openwork-desktop-linux-amd64.deb" -C "${pkgdir}" # cd cwd
cd "${srcdir}"
# Extract the internal data archive directly to the cwd.
bsdtar -O -xf "${pkgname}-${pkgver}.deb" 'data.tar*' | bsdtar -C "${pkgdir}" -xf -
} }
# .deb Internal Structure Reference:
# └── openwork-desktop-linux-amd64.deb
# ├── debian-binary
# ├── control.tar.zst
# └── data.tar.zst (Extracted to $pkgdir)
# ├── opt/openwork/ (App files)
# └── usr/bin/
# ├── opencode (Terminal agent)
# └── openwork (GUI launcher)