mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 03:20:33 +08:00
38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
# Packaging for Arch Linux
|
|
|
|
This folder contains the `PKGBUILD` script for building the `radicle-desktop`
|
|
Arch Linux package.
|
|
|
|
## Arch User Repository
|
|
|
|
This folder is mirrored to the Arch User Repository as
|
|
[`radicle-desktop`][aur-pkg] so user can install it from there.
|
|
|
|
Whenever a change is made to the `radicle-desktop` folder it can be synched to
|
|
the AUR using the `./publish.sh <COMMIT_MSG>` script.
|
|
|
|
Before you push any changes, make sure that the package builds properly, see
|
|
“Build QA” below.
|
|
|
|
You need to be a maintainer of the `radicle-desktop` to be allowed to push
|
|
changes. To become a maintainer ask one of the existing maintainers to add you.
|
|
|
|
## Build QA
|
|
|
|
There is a [Woodpecker CI workflow][workflow] to ensure that the package builds
|
|
correctly on Arch Linux.
|
|
|
|
You can run the workflow locally.
|
|
|
|
```bash
|
|
woodpecker-cli \
|
|
exec .woodpecker/build-arch.yaml \
|
|
--repo-path . \
|
|
--volumes paccache:/var/cache/pacman,builder:/home/builder
|
|
```
|
|
|
|
Using `--volumes` is optional and improves caching between multiple runs.
|
|
|
|
[aur-pkg]: https://aur.archlinux.org/packages/radicle-desktop
|
|
[workflow]: ../.woodpecker/build-arch.yaml
|