pleaseproject / arch-pkgbuild-builder

Arch Linux PKGBUILD GitHub builder action

Home Page:https://github.com/marketplace/actions/arch-linux-pkgbuild-builder-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arch Linux PKGBUILD builder action

This action builds an validates Arch Linux package. The PKGBUILD and .SRCINFO files should be under a subdirectory named the same as the pkgbuild of the package. This assumption is made so this action works well with aurpublish.

Inputs

target

Required Validation target. Can be one of: pkgbuild, srcinfo, run.

pkgname

Required Path to DIRECTORY where the PKGBUILD file is. Assumes the directory is the name of package, ie /path/to/pkgname/'

Example usage

pkgbuild

Verifies and builds the package.

uses: 2m/arch-pkgbuild-builder@v1.16
with:
  target: 'pkgbuild'
  pkgname: 'ucm-bin'

srcinfo

Verifies if the .SRCINFO is up to date with the PKGBUILD.

uses: 2m/arch-pkgbuild-builder@v1.16
with:
  target: 'srcinfo'
  pkgname: 'ucm-bin'

run

Installs the package and runs a given command.

uses: 2m/arch-pkgbuild-builder@v1.16
with:
  target: 'run'
  pkgname: 'ucm-bin'
  command: `ucm --version`

debug mode (optional)

Add a debug: true key, ie.

uses: 2m/arch-pkgbuild-builder@v1.16
with:
  debug: true
  target: 'srcinfo'
  pkgname: 'ucm-bin'

This will run entrypoint.sh with set -x on.

Used by

So far this action is used by the following packages:

About

Arch Linux PKGBUILD GitHub builder action

https://github.com/marketplace/actions/arch-linux-pkgbuild-builder-action


Languages

Language:Shell 96.1%Language:Dockerfile 3.9%