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 is 3.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 to apk-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". πŸ’€ yes resolves to --compat=3.0.0_pre1 and no to --compat=3.0.0_pre3.
  • --script, -s 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. 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