apk-mkpkg(8)
apk mkpkg - create apkv3 package files
apk mkpkg [<options>...]
apk mkpkg creates a package file from given metadata and data files.
-F, --files PATH Specify the build root path from where the files are collected from to be included in the package.
-I, --info KEY:VALUE Specify metadata for the package. Assigns a metadata field KEY with the value VALUE. Refer to apk-package(5) for the list of APKv3 metadata fields. This can assign to either "package info" or "package" metadata field.
-o, --output FILE Specify the FILE as the output file name. If not specified, a default name will be deduced from the package metadata fields.
--rootnode, --no-rootnode Generate or do not generate the rootnode entry in package PATHS. The packages generated without rootnode are not backwards compatible so this is off by default for now.
-s, --script TYPE:SCRIPT Add the specified SCRIPT with the TYPE. Refer to apk-package(5) PACKAGE METADATA / scripts for list of scripts types and when they are executed.
-t, --trigger TRIGGER Append TRIGGER path specification to list triggers which affect when the trigger script is executed.