2db02069658a35ae7fa0deb0b83e438dad2be3ad
Arch Linux's package tools action
This action allows running tools needed for creating Arch Linux (and AUR) package. Here's what this action can do:
- Update checksums on PKGBUILD file
- Generate .SRCINFO based on your PKGBUILD
- Validate PKGBUILD with namcap
- Run makepkg with custom flags (rather than default)
Usage
Requirement
- PKGBUILD file inside your repository.
Customizing
Following inputs can be used as step.with keys
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
path |
String | $GITHUB_WORKSPACE | false |
Path where PKGBUILD is located |
updpkgsums |
Boolean | false |
false |
Update checksums on your PKGBUILD |
srcinfo |
Boolean | false |
false |
Generate new .SRCINFO |
namcap |
Boolean | true |
false |
Validate PKGBUILD |
flags |
String | -cfs --noconfirm |
false |
Flags after makepkg command. Leave this empty will disable this command. |
Examples
Basic
This action will run makepkg -cfs --noconfirm command, then validate PKGBUILD with namcap.
name: CI
on:
push:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Validate package
uses: datakrama/archlinux-package-action@v1
License
The scripts and documentation in this project are released under the MIT License
Description
GitHub Action to run Arch Linux's package tools (forked form: https://github.com/heyhusen/archlinux-package-action/tree/main)
Languages
Shell
84.4%
Dockerfile
15.6%