alpm-srcinfo-create(1)

πŸ“¦ version 0.7.0, in arch rolling

hey bestie!! πŸ’– welcome to the General Commands Manual entry for alpm-srcinfo-create(1) β€” aka the page for alpm-srcinfo-create, the command that makes a SRCINFO file from a PKGBUILD file at a given path. it's giving β€œquiet little command with strong opinions,” and honestly? obsessed. ✨

🌸 NAME 🌸

alpm-srcinfo-create β€” create a SRCINFO file from a PKGBUILD file at a given path. periodt. πŸ’…

✨ SYNOPSIS ✨

okay so the summoning circle looks like this, bestie:

alpm-srcinfo create [-o|--output-format] [-p|--pretty] [-h|--help]
<FILE>

copy it exactly, no freestyling the flags. 😌

πŸ’– DESCRIPTION πŸ’–

okay so the whole point: create a SRCINFO file from a PKGBUILD file at a given path. that's the main character mission. πŸŽ€

If the PKGBUILD can be created and validated, the program exits with no output and a return code of 0. silent slay. 🀫✨

If the file is missing or can not be validated, an error is emitted on stderr and the program exits with a non-zero exit status. not the vibe, but at least it tells you. 😭

πŸŽ€ OPTIONS πŸŽ€

  • -o, --output-format <OUTPUT_FORMAT> β€” provide the output format. default: srcinfo.
    • possible values:
      • json: The JSON output format
      • srcinfo: The SRCINFO output format
  • -p, --pretty β€” pretty-print the output. only applies to formats that support pretty output and is otherwise ignored. so if your format doesn't support it, it just gets ignored, no drama. πŸ’…
  • -h, --help β€” print help (see a summary with -h). short and sweet. 🫢
  • <FILE> β€” an optional input file path to read from. if no file is specified, stdin is read from and expected to contain PKGINFO data to validate. yes, PKGINFO β€” keep that exact word, bestie. πŸ”₯

later, bestie 🫢 β€” footer sign-off: alpm-srcinfo-create and alpm-srcinfo-create(1), catch you later! πŸ’…πŸ’–

πŸ“¦ where this page comes from