alpm-repo-desc-create-v2(1)

πŸ“¦ version 0.2.0, in arch rolling

πŸ’… alpm-repo-desc-create-v2

okay bestie, real talk: this is the alpm-repo-desc-create-v2 page from the General Commands Manual, and it's basically the girl who makes your repo's desc file (version 2, obviously) exist. she's lowkey a one-trick pony and we love that for her πŸŽ€


✨ NAME ✨

alpm-repo-desc-create-v2 β€” creates a package repository desc file, version 2. that's the whole personality 🫢


🌸 SYNOPSIS 🌸

[--description] [--groups] <--csize> <--isize> <--sha256sum> [--url]
[--license] <--arch> <--builddate> <--packager> [--replaces]
[--conflicts] [--provides] [--depends] [--optdepends] [--makedepends]
[--checkdepends] [--pgpsig] [-h|--help] [OUTPUT]

notice how some of these are in <angle brackets> and some are in [square brackets]? the angle ones are the must-haves, the square ones are the optional lil extras. she's very clear about her boundaries ✨


πŸ’– DESCRIPTION πŸ’–

Create a package repository desc version 2 file. that's it, that's the job. no cap. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

every single one of these can also come in through an environment variable, which is giving "i have two ways to be told what to do and i will accept both" energy. iconic.

  • --filename <FILENAME> β€” the package file name. may also be specified with the ALPM_REPO_DESC_FILENAME environment variable.
  • --name <NAME> β€” the package name. may also be specified with the ALPM_REPO_DESC_NAME environment variable.
  • --base <BASE> β€” the name of the package base, from which this package originates. may also be specified with the ALPM_REPO_DESC_BASE environment variable.
  • --version <VERSION> β€” the version of the package. may also be specified with the ALPM_REPO_DESC_VERSION environment variable.
  • --description <DESCRIPTION> β€” the description of the package. may also be specified with the ALPM_REPO_DESC_DESC environment variable.
  • --groups <GROUPS> β€” the groups this package belongs to. may also be specified with the ALPM_REPO_DESC_GROUPS environment variable.
  • --csize <CSIZE> β€” the compressed size of the package in bytes. may also be specified with the ALPM_REPO_DESC_CSIZE environment variable.
  • --isize <ISIZE> β€” the size of the uncompressed and unpacked package contents in bytes. may also be specified with the ALPM_REPO_DESC_ISIZE environment variable.
  • --sha256sum <SHA256SUM> β€” the SHA256 checksum of the package file. may also be specified with the ALPM_REPO_DESC_SHA256SUM environment variable.
  • --url <URL> β€” the optional URL associated with the package. may also be specified with the ALPM_REPO_DESC_URL environment variable.
  • --license <LICENSE> β€” set of licenses under which the package is distributed. may also be specified with the ALPM_REPO_DESC_LICENSE environment variable.
  • --arch <ARCH> β€” the architecture of the package. may also be specified with the ALPM_REPO_DESC_ARCH environment variable.
  • --builddate <BUILDDATE> β€” the date at which the build of the package started. may also be specified with the ALPM_REPO_DESC_BUILDDATE environment variable.
  • --packager <PACKAGER> β€” the User ID of the entity that built the package. may also be specified with the ALPM_REPO_DESC_PACKAGER environment variable.
  • --replaces <REPLACES> β€” virtual components or packages that this package replaces upon installation. may also be specified with the ALPM_REPO_DESC_REPLACES environment variable.
  • --conflicts <CONFLICTS> β€” virtual components or packages that this package conflicts with. may also be specified with the ALPM_REPO_DESC_CONFLICTS environment variable.
  • --provides <PROVIDES> β€” virtual components or packages that this package provides. may also be specified with the ALPM_REPO_DESC_PROVIDES environment variable.
  • --depends <DEPENDS> β€” run-time dependencies required by the package. may also be specified with the ALPM_REPO_DESC_DEPENDS environment variable.
  • --optdepends <OPTDEPENDS> β€” optional dependencies that are not strictly required by the package. may also be specified with the ALPM_REPO_DESC_OPTDEPENDS environment variable.
🫢 bestie heads up: this one uses comma as value delimiter. so if you need optional dependencies with descriptions that contain commas, use multiple arguments with quoted values. do not come for me when the comma eats your description, i warned you 😭
  • --makedepends <MAKEDEPENDS> β€” dependencies for building the upstream software of the package. may also be specified with the ALPM_REPO_DESC_MAKEDEPENDS environment variable.
  • --checkdepends <CHECKDEPENDS> β€” a dependency for running tests of the package's upstream project. may also be specified with the ALPM_REPO_DESC_CHECKDEPENDS environment variable.
  • --pgpsig <PGPSIG> β€” the base64-encoded OpenPGP detached signature of the package file. may also be specified with the ALPM_REPO_DESC_PGPSIG environment variable.
  • -h, --help β€” print help (see a summary with -h). yes, -h gives you the short version and --help gives you the whole thing. main character behaviour honestly πŸ‘‘
  • [OUTPUT] β€” the output file. may also be specified with the ALPM_REPO_DESC_OUTPUT_FILE environment variable.

and that's the page, bestie πŸ’œ the footer of this whole thing just signs off as alpm-repo-desc-create-v2 β€” a queen who needs no date and no extra version line. periodt. πŸ¦‹

πŸ“¦ where this page comes from