Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildVars ¶
type BuildVars struct { Name string `sh:"name,required"` Version string `sh:"version,required"` Release int `sh:"release,required"` Epoch uint `sh:"epoch"` Description string `sh:"desc"` Homepage string `sh:"homepage"` Maintainer string `sh:"maintainer"` Architectures []string `sh:"architectures"` Licenses []string `sh:"license"` Provides []string `sh:"provides"` Conflicts []string `sh:"conflicts"` Depends []string `sh:"deps"` BuildDepends []string `sh:"build_deps"` OptDepends []string `sh:"opt_deps"` Replaces []string `sh:"replaces"` Sources []string `sh:"sources"` Checksums []string `sh:"checksums"` Backup []string `sh:"backup"` Scripts Scripts `sh:"scripts"` AutoReq []string `sh:"auto_req"` AutoProv []string `sh:"auto_prov"` }
BuildVars represents the script variables required to build a package
type Config ¶
type Config struct { RootCmd string `toml:"rootCmd"` PagerStyle string `toml:"pagerStyle"` IgnorePkgUpdates []string `toml:"ignorePkgUpdates"` Repos []Repo `toml:"repo"` Unsafe Unsafe `toml:"unsafe"` AutoPull bool `toml:"autoPull"` }
Config represents the ALR configuration file
type Directories ¶
type RepoConfig ¶
type RepoConfig struct { Repo struct { MinVersion string `toml:"minVersion"` } }
RepoConfig represents a ALR repo's alr-repo.toml file.
type Scripts ¶
type Scripts struct { PreInstall string `sh:"preinstall"` PostInstall string `sh:"postinstall"` PreRemove string `sh:"preremove"` PostRemove string `sh:"postremove"` PreUpgrade string `sh:"preupgrade"` PostUpgrade string `sh:"postupgrade"` PreTrans string `sh:"pretrans"` PostTrans string `sh:"posttrans"` }
Click to show internal directories.
Click to hide internal directories.