ALPM-PACKAGE-VERSION(7)

πŸ“¦ version 0.13.0, in arch rolling

🌸 NAME 🌸

okay so this is the alpm-package-version(7) page, bestie πŸ’– and the name is package version β€” package versions for ALPM based packages.


πŸ’… DESCRIPTION πŸ’…

okay so the package version format is literally the way version info works for ALPM based packages. It shows up in build scripts or file formats for package metadata β€” like in PKGBUILD, PKGINFO, SRCINFO, alpm-repo-desc, or alpm-lib-desc β€” to describe package versions, or component versions as part of a package relation. no cap ✨

The value is a composite version string, and it can have several components (alpm-epoch, alpm-pkgver, alpm-pkgrel). There are various forms of composite version strings, but they’re only used in specific contexts. periodt πŸ’…

✨ Full ✨

The value for this form is an alpm-pkgver, directly followed by a - sign, directly followed by an alpm-pkgrel (like 1.0.0-1). This alpm-package-version form is used in various scenarios, such as:

  • package filenames
  • package-relation expressions
    • replaces, conflict, provides, depend, makedepend and checkdepend in PKGINFO files
  • pkgver in BUILDINFO files
  • pkgver in PKGINFO files
  • as part of buildtoolver in BUILDINFOv2 files
  • as part of installed in BUILDINFO files

🌈 Full with epoch 🌈

The value for this form is an alpm-epoch, directly followed by a : sign, directly followed by an alpm-pkgver, directly followed by a - sign, directly followed by an alpm-pkgrel (like 1:1.0.0-1). This alpm-package-version form is used in various scenarios, such as:

  • package filenames
  • package-relation expressions
    • replaces, conflict, provides, depend, makedepend and checkdepend in PKGINFO files
  • pkgver in BUILDINFO files
  • pkgver in PKGINFO files
  • as part of buildtoolver in BUILDINFOv2 files
  • as part of installed in BUILDINFO files
  • as part of the alpm-state-repo contents

πŸ¦‹ Minimal πŸ¦‹

The value for this form is an alpm-pkgver (like 1.0.0). This alpm-package-version form is used in various scenarios, such as:

  • package-relation expressions
    • replaces, conflicts, provides, depends, makedepends and checkdepends in PKGBUILD files
    • replaces, conflict, provides, depend, makedepend and checkdepend in PKGINFO files
  • pkgver in PKGBUILD files
  • pkgver in SRCINFO files
  • as part of buildtoolver in BUILDINFOv2 files

πŸŽ€ Minimal with epoch πŸŽ€

The value for this form is an alpm-epoch, directly followed by a : sign, directly followed by an alpm-pkgver (like 1:1.0.0). This alpm-package-version form is used in various scenarios, such as:

  • as part of package-relation expressions
    • replaces, conflicts, provides, depends, makedepends and checkdepends in PKGBUILD files
    • replaces, conflict, provides, depend, makedepend and checkdepend in PKGINFO files
  • pkgver in PKGBUILD files
  • pkgver in SRCINFO files
  • as part of buildtoolver in BUILDINFOv2 files

πŸ”₯ EXAMPLES πŸ”₯

"1.0.0-1"

A full package version. πŸ’–

"1:1.0.0-1"

A full package version with epoch. ✨

"1.0.0"

A minimal package version. πŸ¦‹

"1:1.0.0"

A minimal package version with epoch. πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘

BUILDINFO(5), PKGBUILD(5), PKGINFO(5), SRCINFO(5), alpm-epoch(7), alpm-package-relation(7), alpm-pkgrel(7), alpm-pkgver(7), vercmp(8)

and that’s the (7) footer in the Miscellaneous Information Manual, bestie β€” byeee πŸ’–

πŸ“¦ where this page comes from