|
@@ -46,6 +46,7 @@ Permanent configuration options:
|
|
--pacman <file> pacman command to use
|
|
--pacman <file> pacman command to use
|
|
--tar <file> bsdtar command to use
|
|
--tar <file> bsdtar command to use
|
|
--git <file> git command to use
|
|
--git <file> git command to use
|
|
|
|
+ --gpg <file> gpg command to use
|
|
--config <file> pacman.conf file to use
|
|
--config <file> pacman.conf file to use
|
|
|
|
|
|
--requestsplitn <n> Max amount of packages to query per AUR request
|
|
--requestsplitn <n> Max amount of packages to query per AUR request
|
|
@@ -63,9 +64,10 @@ Permanent configuration options:
|
|
--noredownload Skip pkgbuild download if in cache and up to date
|
|
--noredownload Skip pkgbuild download if in cache and up to date
|
|
--rebuild Always build target packages
|
|
--rebuild Always build target packages
|
|
--rebuildall Always build all AUR packages
|
|
--rebuildall Always build all AUR packages
|
|
- --rebuildtree Always build all AUR packages even if installed
|
|
|
|
|
|
+ --rebuildtree Always build all AUR packages even if installed
|
|
--norebuild Skip package build if in cache and up to date
|
|
--norebuild Skip package build if in cache and up to date
|
|
--mflags <flags> Pass arguments to makepkg
|
|
--mflags <flags> Pass arguments to makepkg
|
|
|
|
+ --gpgflags <flags> Pass arguments to gpg
|
|
--sudoloop Loop sudo calls in the background to avoid timeout
|
|
--sudoloop Loop sudo calls in the background to avoid timeout
|
|
--nosudoloop Do not loop sudo calls in the background
|
|
--nosudoloop Do not loop sudo calls in the background
|
|
|
|
|
|
@@ -202,7 +204,6 @@ func initAlpm() (err error) {
|
|
alpmConf.IgnoreGroup = append(alpmConf.IgnoreGroup, strings.Split(value, ",")...)
|
|
alpmConf.IgnoreGroup = append(alpmConf.IgnoreGroup, strings.Split(value, ",")...)
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
//TODO
|
|
//TODO
|
|
//current system does not allow duplicate arguments
|
|
//current system does not allow duplicate arguments
|
|
//but pacman allows multiple cachdirs to be passed
|
|
//but pacman allows multiple cachdirs to be passed
|
|
@@ -411,6 +412,8 @@ func handleConfig(option, value string) bool {
|
|
config.ReBuild = "tree"
|
|
config.ReBuild = "tree"
|
|
case "norebuild":
|
|
case "norebuild":
|
|
config.ReBuild = "no"
|
|
config.ReBuild = "no"
|
|
|
|
+ case "gpgflags":
|
|
|
|
+ config.GpgFlags = value
|
|
case "mflags":
|
|
case "mflags":
|
|
config.MFlags = value
|
|
config.MFlags = value
|
|
case "builddir":
|
|
case "builddir":
|
|
@@ -425,6 +428,8 @@ func handleConfig(option, value string) bool {
|
|
config.TarBin = value
|
|
config.TarBin = value
|
|
case "git":
|
|
case "git":
|
|
config.GitBin = value
|
|
config.GitBin = value
|
|
|
|
+ case "gpg":
|
|
|
|
+ config.GpgBin = value
|
|
case "requestsplitn":
|
|
case "requestsplitn":
|
|
n, err := strconv.Atoi(value)
|
|
n, err := strconv.Atoi(value)
|
|
if err == nil && n > 0 {
|
|
if err == nil && n > 0 {
|