summaryrefslogtreecommitdiff
path: root/src/libretools.conf
blob: 3ed6fa6cdb9ae58d7f70e6bff28c7ce844688b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/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} )