alpm-pkginfo-create-v2(1)
π alpm-pkginfo-create-v2
okay so bestie, welcome to the alpm-pkginfo-create-v2 page β it's the alpm-pkginfo-create-v2 bit from the General Commands Manual, and it's literally the glow-up you need for making a PKGINFO version 2 file. no cap. π
β¨ NAME β¨
alpm-pkginfo-create-v2 β create a PKGINFO version 2 file
πΈ SYNOPSIS πΈ
alpm-pkginfo create v2 <--pkgname> <--pkgbase> <--pkgver> <--pkgdesc>
<--url> <--builddate> <--packager> <--size> <--arch> [--license]
[--replaces] [--group] [--conflict] [--provides] [--backup] [--depend]
[--optdepend] [--makedepend] [--checkdepend] [--xdata] [-h|--help]
[FILE]
so like, the first chunk is mandatory-required (yes both), everything in [brackets] is optional, and [FILE] is the little cherry on top π
π¦ DESCRIPTION π¦
Create a PKGINFO version 2 file. that's the whole job. it's giving "small but mighty" and honestly? obsessed. π
π OPTIONS π
--pkgname <PKGNAME>β the pkgname to use in the PKGINFO.
the pkgname must follow the alpm-package-name format (see man 7 alpm-package-name). may also be specified with the PKGINFO_PKGNAME environment variable.
--pkgbase <PKGBASE>β the pkgbase to use in the PKGINFO.
the pkgbase must follow the alpm-package-name format (see man 7 alpm-package-name). may also be specified with the PKGINFO_PKGBASE environment variable.
--pkgver <PKGVER>β the pkgver to use in the PKGINFO.
the pkgver value must follow the alpm-pkgver format (see man 7 alpm-pkgver). may also be specified with the PKGINFO_PKGVER environment variable.
--pkgdesc <PKGDESC>β the package description to use in the PKGINFO.
the value must follow the format described in the PKGINFO format (see man 5 PKGINFO). may also be specified with the PKGINFO_PKGDESC environment variable.
--url <URL>β provide a url. may also be specified with thePKGINFO_URLenvironment variable.--builddate <BUILDDATE>β provide a builddate. may also be specified with thePKGINFO_BUILDDATEenvironment variable.--packager <PACKAGER>β provide a packager. may also be specified with thePKGINFO_PACKAGERenvironment variable.--size <SIZE>β provide a size. may also be specified with thePKGINFO_SIZEenvironment variable.--arch <ARCH>β provide a architecture. may also be specified with thePKGINFO_ARCHenvironment variable.--license <LICENSE>β provide one or more licenses. may also be specified with thePKGINFO_LICENSEenvironment variable.--replaces <REPLACES>β provide one or more replaces. may also be specified with thePKGINFO_REPLACESenvironment variable.--group <GROUP>β provide one or more groups. may also be specified with thePKGINFO_GROUPenvironment variable.--conflict <CONFLICT>β provide one or more conflicts. may also be specified with thePKGINFO_CONFLICTenvironment variable.--provides <PROVIDES>β provide one or more provides. may also be specified with thePKGINFO_PROVIDESenvironment variable.--backup <BACKUP>β provide one or more backups. may also be specified with thePKGINFO_BACKUPenvironment variable.--depend <DEPEND>β provide one or more depends. may also be specified with thePKGINFO_DEPENDenvironment variable.--optdepend <OPTDEPEND>β provide one or more optdepend. may also be specified with thePKGINFO_OPTDEPENDenvironment variable.--makedepend <MAKEDEPEND>β provide one or more makedepend. may also be specified with thePKGINFO_MAKEDEPENDenvironment variable.--checkdepend <CHECKDEPEND>β provide one or more checkdepend. may also be specified with thePKGINFO_CHECKDEPENDenvironment variable.--xdata <XDATA>β provide one or more Xdata. may also be specified with thePKGINFO_XDATAenvironment variable.-h,--helpβ print help (see a summary with-h). yes queen,-hgives you the short version, the full--helpgives you the whole essay π[FILE](default:.PKGINFO) β an optional custom file to write to. may also be specified with thePKGINFO_OUTPUT_FILEenvironment variable.
heads up bestie: thoseone or moreoptions are repeatable β every single one of--license,--replaces,--group,--conflict,--provides,--backup,--depend,--optdepend,--makedepend,--checkdependand--xdatacan show up multiple times, and each one still has its own env var (listed above) as a backup plan π«Ά
also: every option that says "may also be specified with the β¦ environment variable" means you can skip the flag entirely and let the env do the talking. main character energy tbh. π
and that's the page, diva π β this was alpm-pkginfo-create-v2, from General Commands Manual's alpm-pkginfo-create-v2(1), source/version alpm-pkginfo-create-v2, dated alpm-pkginfo-create-v2. go forth and write that .PKGINFO β¨ππ
π¦ where this page comes from
- arch rolling: alpm-pkginfo 0.7.0-1 Β· Apache-2.0 OR MIT AND CC-BY-SA-4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms