# Arch package

This PKGBUILD is intended for Arch Linux local release packaging. It builds
from a local source archive exported from this repository, uses Arch system
libraries, and disables FetchContent so package builds do not download
dependencies during CMake configure.

Before publishing an AUR-style release package, switch `source` to the new
repository's versioned tag archive and replace the temporary `SKIP` checksum
with a real checksum, for example by running `updpkgsums` after the tag archive
is available.

## Build

```fish
cd packaging/arch
git archive --format=tar.gz --prefix=qEmby-0.0.6/ -o qemby-0.0.6.tar.gz HEAD
makepkg -f
```

## Install

```fish
cd packaging/arch
sudo pacman -U qemby-*.pkg.tar.zst
```

## Run

```fish
qemby
```

If native Wayland causes windowing or OpenGL issues, run with the XCB fallback:

```fish
QEMBY_FORCE_XCB=1 qemby
```

## Uninstall

```fish
sudo pacman -R qemby
```
