For the complete documentation index, see llms.txt. This page is also available as Markdown.

20.x_exec

Build/Download execution (TYPE: ENFORCED)

Core Fields

x_exec:
  shell: "bash"
  pkgver: |
    # Commands to fetch version (output only the version string)
    curl -qfsSL "https://api.github.com/repos/owner/repo/releases/latest" | jq -r '.tag_name'
  run: |
    # Commands to build/download the package
    # Output must be placed in ${SBUILD_OUTDIR}
  • shell: Interpreter to use (bash, sh, fish, nu, zsh, etc.)

  • pkgver: Fetches version, saved to ${SBUILD_OUTDIR}/${SBUILD_PKG}.version and ${PKG_VER} env

  • run: Main build/download script, must produce required output files


Optional Fields

arch

Restrict to specific architectures. Build terminates if host arch doesn't match.

os

Restrict to specific operating systems.

host

Combined arch + os restriction.

conflicts

Packages to uninstall after successful build.

depends

Packages to install before running x_exec.run.

entrypoint

Path to main binary when it's not at ${SBUILD_OUTDIR}/${SBUILD_PKG}.

Last updated