793 B
793 B
Alpine Package Blueprint
Copy this directory to packaging/alpine/local/<pkgname>/ and replace the
placeholder values before building.
Required:
APKBUILD
Optional package-local hooks:
scripts/test-install.shvalidates README-style installation instructions.scripts/update-generated-sources.shrefreshes generated files that are listed insource=.
Repo-level tasks discover packages from packaging/alpine/local/*/APKBUILD.
Limit a task to one or more packages with:
ALPINE_PACKAGE=<pkgname> mise run apk:build
ALPINE_PACKAGES="<pkg-a> <pkg-b>" mise run apk:build-all
ALPINE_PACKAGE=<pkgname> mise run apk:test-install
For compiled software, put normal Alpine build logic in build(), check(),
and package() and declare build tools in makedepends.