Expand description

This library provides a standardized way for clients to parse makedeb-styled .SRCINFO files. These are the files found on the MPR that provide a method to know the contents of a PKGBUILD file without having to source (and thefore execute) it.

Most clients won’t need to use any of the SRCINFO_* constants, but instead should use the SrcInfo struct to read a .SRCINFO file.

Structs

A struct representing the output of a parsing error.

A Struct representing a package’s name, operator, and version.

Constants

A list of items that should always be arrays (i.e. any amount can be present) in a .SRCINFO file.

A list of items that can be extended (e.g. prefixed with focal_ or suffixed with _amd64) in a .SRCINFO file.

A list of items that must always be present inside of a .SRCINFO file.

A list of items that should always be strings (i.e. a maximum of one can be present) in a .SRCINFO file.