https://github.com/arenekosreal/pkgbuild-actions
[DEPRECATED] A series of GitHub Actions useful for building Arch Linux's PKGBUILD files in GitHub Action.
https://github.com/arenekosreal/pkgbuild-actions
archlinux archlinuxarm builder container docker github-actions github-actions-docker pkgbuild
Last synced: 7 days ago
JSON representation
[DEPRECATED] A series of GitHub Actions useful for building Arch Linux's PKGBUILD files in GitHub Action.
- Host: GitHub
- URL: https://github.com/arenekosreal/pkgbuild-actions
- Owner: arenekosreal
- License: wtfpl
- Archived: true
- Created: 2025-01-20T09:00:09.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-01T02:17:45.000Z (8 months ago)
- Last Synced: 2025-03-20T09:33:31.408Z (7 months ago)
- Topics: archlinux, archlinuxarm, builder, container, docker, github-actions, github-actions-docker, pkgbuild
- Language: Shell
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# pkgbuild-actions
A series of GitHub Actions useful for building Arch Linux's PKGBUILD files in GitHub Action.
> [!IMPORTANT]
> pkgbuild-actions is deprecated due to its complexity.
> If you are looking for an alternative, you can check [makepkg-action](https://github.com/arenekosreal/makepkg-action).
> But it requires manual migration.## CI status
[](https://github.com/arenekosreal/pkgbuild-actions/actions/workflows/ci.yml)
## Features
- Multi-arch support
You can handle `x86_64` and `aarch64` packages with those actions.
How to use:
Set `runs-on` with proper value like `ubuntu-24.04` or `ubuntu-24.04-arm`.
The latter will only available for public repository.
You can also run the docker image directly with `--platform` argument to specify which architecture you want to run.- No yay/paru
Everything is built with a minimal archlinux/archlinuxarm system with `base-devel`, `base` and other dependencies listed in PKGBUILD installed.
Not-in-official-repository dependencies will be installed from a custom repository so pacman can find it directly.
This means you have to prepare a custom pacman repository yourself to storage those dependencies.
You can use `update-pacman-repo` action in this github repository to achieve that.## Actions
- build
Build PKGBUILD in container.
- bump-pkgver
Bump `$pkgver` by running `pkgver()` in PKGBUILD.
- download-sources
Download files defined in `$sources` array.
- fetch-pgp-keys
Fetch GnuPG keys defiled in `$validpgpkeys` array.
- get-global-variable
Get top-level variables defined in PKGBUILD.
- update-pacman-repo
Scan `*.pkg.tar.*` in directory and generate a pacman repository.
## Usage
See `README.md` in each action's folder.