Arch Linux AMD64 package
Use this directory to build and install the AMD64 OpenWork package locally on Arch Linux without Docker.
What this packaging does
- Targets
x86_64Arch Linux. - Downloads the published GitHub release asset
openwork-desktop-linux-amd64.deb. - Repackages the
.debcontents into an Arch package withmakepkg. - Removes the bundled
/usr/bin/opencodefile so the package does not conflict withopencode-bin.
Prerequisites
- Arch Linux on
x86_64 base-develbsdtar/libarchivecurl
Install the packaging prerequisites once:
sudo pacman -S --needed base-devel curl libarchive
Build and install the current packaged version
From the repo root:
cd packaging/aur
makepkg -si
That will:
- download the AMD64
.debpinned inPKGBUILD - build an Arch package such as
openwork-<version>-1-x86_64.pkg.tar.zst - install it locally with
pacman
After install, openwork is available as the desktop launcher. If you also want the standalone OpenCode CLI, install opencode-bin separately.
OpenCode CLI conflict note
Recent .deb builds include /usr/bin/opencode, but the AUR package intentionally strips that file during repackaging.
That keeps OpenWork compatible with systems that already install the OpenCode CLI from opencode-bin, which should remain the owner of the global opencode command.
Update the package to a newer release
If the GitHub release version changed, refresh the packaging metadata first:
scripts/aur/update-aur.sh v0.11.162
Then rebuild:
cd packaging/aur
makepkg -si
Build without installing
cd packaging/aur
makepkg -s
This leaves the built package in packaging/aur/ so you can install it later with:
sudo pacman -U openwork-<version>-1-x86_64.pkg.tar.zst
Verify the installed app
openwork
If you want to confirm the package contents first:
pacman -Ql openwork