Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OverridePkgver string
OverridePkgver is a variable that allows overriding the PkgVer field in PKGBUILD. This can be useful for setting a custom package version.
Functions ¶
func ParseFile ¶
ParseFile parses a file and returns a PKGBUILD object and an error.
Parameters: - distro: the distribution name. - release: the release version. - startDir: the starting directory. - home: the home directory.
Returns: - *pkgbuild.PKGBUILD: the parsed PKGBUILD object. - error: an error if any occurred during parsing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.