alpm-pkginfo-create-v2(1)

πŸ“¦ version 0.7.0, in arch rolling

πŸ’… 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 the PKGINFO_URL environment variable.
  • --builddate <BUILDDATE> β€” provide a builddate. may also be specified with the PKGINFO_BUILDDATE environment variable.
  • --packager <PACKAGER> β€” provide a packager. may also be specified with the PKGINFO_PACKAGER environment variable.
  • --size <SIZE> β€” provide a size. may also be specified with the PKGINFO_SIZE environment variable.
  • --arch <ARCH> β€” provide a architecture. may also be specified with the PKGINFO_ARCH environment variable.
  • --license <LICENSE> β€” provide one or more licenses. may also be specified with the PKGINFO_LICENSE environment variable.
  • --replaces <REPLACES> β€” provide one or more replaces. may also be specified with the PKGINFO_REPLACES environment variable.
  • --group <GROUP> β€” provide one or more groups. may also be specified with the PKGINFO_GROUP environment variable.
  • --conflict <CONFLICT> β€” provide one or more conflicts. may also be specified with the PKGINFO_CONFLICT environment variable.
  • --provides <PROVIDES> β€” provide one or more provides. may also be specified with the PKGINFO_PROVIDES environment variable.
  • --backup <BACKUP> β€” provide one or more backups. may also be specified with the PKGINFO_BACKUP environment variable.
  • --depend <DEPEND> β€” provide one or more depends. may also be specified with the PKGINFO_DEPEND environment variable.
  • --optdepend <OPTDEPEND> β€” provide one or more optdepend. may also be specified with the PKGINFO_OPTDEPEND environment variable.
  • --makedepend <MAKEDEPEND> β€” provide one or more makedepend. may also be specified with the PKGINFO_MAKEDEPEND environment variable.
  • --checkdepend <CHECKDEPEND> β€” provide one or more checkdepend. may also be specified with the PKGINFO_CHECKDEPEND environment variable.
  • --xdata <XDATA> β€” provide one or more Xdata. may also be specified with the PKGINFO_XDATA environment variable.
  • -h, --help β€” print help (see a summary with -h). yes queen, -h gives you the short version, the full --help gives you the whole essay πŸ“–
  • [FILE] (default: .PKGINFO) β€” an optional custom file to write to. may also be specified with the PKGINFO_OUTPUT_FILE environment variable.
heads up bestie: those one or more options are repeatable β€” every single one of --license, --replaces, --group, --conflict, --provides, --backup, --depend, --optdepend, --makedepend, --checkdepend and --xdata can 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