alpm-pkginfo-validate(1) General Commands Manual alpm-pkginfo-validate(1)

alpm-pkginfo-validate - Validate a PKGINFO file

alpm-pkginfo validate [-h|--help] [FILE]

Validate a PKGINFO file

Validate a PKGINFO file according to a schema. If the file can be validated, the program exits with no output and a return code of 0. If the file can not be validated, an error is emitted on stderr and the program exits with a non-zero exit code.

Print help (see a summary with '-h')
[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.

alpm-pkginfo-validate