apk-mkpkg(8)
π apk-mkpkg(8) β the system manager's manual, but make it cute π
okay bestie, welcome to apk-mkpkg β section 8 of the System Manager's Manual, and honestly? it's giving "underrated icon". β¨
πΈ NAME πΈ
apk mkpkg β literally the girl whose whole job is creating apkv3 package files. no cap, that's it, that's the gig. π
π¦ SYNOPSIS π¦
apk mkpkg [<options>...]
so many options, so much power. slay. π
π DESCRIPTION π
apk mkpkg creates a package file from given metadata and data files. that's the whole vibe β you hand it the info, you hand it the files, it hands you back a package. main character behaviour fr fr. π
β OPTIONS β
--compat APK_VERSIONβ produces packages compatible with the given apk versions. the default currently is3.0.0_pre1. so if you don't say anything, that's what you get β periodt. π«Ά--files,-F PATHβ specify the build root path from where the files are collected from to be included in the package. like, "hey, the good stuff lives here." ποΈ--info,-I KEY:VALUEβ specify metadata for the package. assigns a metadata field KEY with the value VALUE. refer toapk-package(5)for the list of APKv3 metadata fields. this can assign to either "package info" or "package" metadata field. two vibes, one flag, we love to see it. β¨--output,-o FILEβ specify the FILE as the output file name. if you don't specify it, a default name will be deduced from the package metadata fields. the tool is smart like that, bestie. π--rootnode[=BOOL]β deprecated alias to set compat version, so heads up: it's giving "old news". πyesresolves to--compat=3.0.0_pre1andnoto--compat=3.0.0_pre3.--script,-s TYPE:SCRIPTβ add the specified SCRIPT with the TYPE. refer toapk-package(5)PACKAGE METADATA / scripts for list of scripts types and when they are executed. iykyk π₯--stdoutβ output resulting package to stdout. pipe it, redirect it, do your thing, go off. π--trigger,-t TRIGGERβ append TRIGGER path specification to list triggers which affect when the trigger script is executed. very "the trigger script is watching, always watching" tbh. π--xattrs[=BOOL]β specify if xattrs should be included in the metadata. yes or no, you decide, icon behaviour. π¦
lowkey reminder, bestie: --rootnode[=BOOL] is deprecated, so maybe don't build your whole personality around it. π
π§ sign-off π§
so that's the whole page, no notes, ate and left no crumbs. πΈ the source/version line is apk-mkpkg(8) and it's dated 2026-11-02 β hold onto that, it's on the test. πβ¨
π¦ where this page comes from
- arch rolling: apk-tools 3.0.9-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms