#!/hint/bash # shellcheck disable=2034 # System-wide Libretools configuration # # Users may over-ride this file in ~$LIBREUSER/.config/libretools/libretools.conf. # This file may be copied verbatim and adapted, or the user config may simply # redefine only the variables desired to over-ride. # # NOTE: * $LIBREHOME and $LIBREUSER are set in /usr/lib/libretools/conf.sh, # implicitly, before /etc/libretools.conf and overrides are loaded # * $DISPLAY is set implicitly by the X-server ################################################################################ # general # ################################################################################ ## The directory where you work on packages (large storage) # This will be the parent directory of abslibre/ and staging/. # You can keep your VCS work area tidy by assigning SRCDEST and LOGDEST # in makepkg.conf to a subdirectory of this $$WORKDIR. # If you do that, use absolute paths. # $WORKDIR and $LIBREHOME are not valid in makepkg.conf when running `makepkg`. # SRCDEST=/path/to/WORKDIR/sources # LOGDEST=/path/to/WORKDIR/logs WORKDIR="${LIBREHOME:-}"/packages ## ABSLibre ## Used by: `createworkdir` ABSLIBRERECV=git://git.parabola.nu/abslibre/abslibre.git ABSLIBRESEND=ssh://git@git.parabola.nu:1863/~git/abslibre/abslibre.git ## Blacklist URL ## Used by: `blacklist.sh` BLACKLIST=https://git.parabola.nu/blacklist.git/plain/blacklist.txt ## Diff tool ## Used by `aur`, `diff-unfree` # shellcheck disable=2046 DIFFPROG=$(which $([ -z "${DISPLAY:-}" ]||echo kdiff3 meld gvimdiff) vimdiff colordiff diff 2>/dev/null|sed 's/\s.*//;1q') ################################################################################ # librerelease # ################################################################################ ## Login on the $TIER0_HOST server (normally, your hackers.git login) # Un-comment this and set it to your $TIER0_HOST login, if your $LIBREUSER differs. # $TIER0_LOGIN may also be set in the environment. # TIER0_LOGIN= ## The host, port, and remote staging directory for uploading packages via SSH # `librerelease` will fail if $TIER0_HOST is unset or if any of these are invalid. # $TIER0_PORT and $TIER0_STAGING are optional. If not configured, # the SSH port ($TIER0_PORT) will be the SSH system default; # and the remote staging location ($TIER0_STAGING) will be ~$TIER0_LOGIN/staging/. # Mind $TIER0_STAGING especially. `librerelease -C` deletes this entire directory. # Do not use tilde ('~') in $TIER0_STAGING. Specify an absolute path instead. TIER0_HOST=repo.parabola.nu TIER0_PORT=1863 TIER0_STAGING= ## Config file on the $REPOHOST server for `db-update` DBSCRIPTS_CONFIG=/etc/dbscripts/config.local.parabola ## Pre- and Post- hooks (BASH commands to run before or after uploading packages) HOOKPRERELEASE= HOOKPOSTRELEASE="sudo librechroot clean-repo" ################################################################################ # dagpkg # ################################################################################ # Note: Not being set is valid for any of the HOOK* settings. # Run a command before running FULLBUILDCMD HOOKPREBUILD="" ## Uncomment one of those or make one of your choice # Normal FULLBUILDCMD="sudo libremakepkg" # Cross compiling #FULLBUILDCMD="sudo libremakepkg -n cross-compile-chroot" # Don't use a chroot #FULLBUILDCMD="makepkg -sL --noconfirm" # Locally release the package or any other action after running FULLBUILDCMD # successfully. When run, it is given a repository name as a single argument. HOOKLOCALRELEASE="librestage" ################################################################################ # toru # ################################################################################ TORUPATH=/var/lib/libretools/toru ## The repos you'll be packaging for ## Used by: `toru-path` # Tip: As early repos take precedence on $REPOS loops, you can use this as # inverted order of precedence. Put testing repos first so dagpkg will find new # PKGBUILDs first, for instance. `toru-path` uses reverse order to enforce repo # precedence on the path cache (the last path added replaces the rest) REPOS=( pcr{,-testing} extra core libre{,-testing} nonsystemd{,-testing} nonprism{,-testing} )