parser

package
v0.0.0-...-efab2a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

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

func ParseFile(distro, release, startDir, home string) (*pkgbuild.PKGBUILD, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL