summaryrefslogtreecommitdiff
path: root/src/libretools.conf
blob: 452a70f84f347a589da52d1c52a9d09f20795ced (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
#!/hint/bash

################################################################################
# misc                                                                         #
################################################################################

# The dir where you work on
WORKDIR="$LIBREHOME/packages"

## Blacklist URL
BLACKLIST=https://projects.parabola.nu/blacklist.git/plain/blacklist.txt

## Diff tool (vimdiff, gvimdiff, meld, etc)
## Used by `aur`, `diff-unfree`
DIFFPROG=$(which $([ -z "${DISPLAY:-}" ]||echo kdiff3 meld gvimdiff) vimdiff colordiff diff 2>/dev/null|sed 's/\s.*//;1q')

## The repos you'll be packaging for
## Used by `toru`
# Tip: As early repos take precedence on $REPOS loops, you can use this as
# inverted order of precedence. Put testing repos first so fullpkg 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=('core' 'libre' 'extra' 'community' 'libre-testing' 'social' 'sugar' 'pcr' 'java')

## The architectures you'll be packaging for
## Used by `librestage`
ARCHES=('x86_64' 'i686' 'mips64el')

## ABSLibre
# Used by xbs-abslibre
ABSLIBRERECV=git://projects.parabola.nu/abslibre/abslibre.git
ABSLIBRESEND=ssh://git@projects.parabola.nu/srv/git/abslibre/abslibre.git
ABSLIBREDEST="$WORKDIR/staging/abslibre"

################################################################################
# librerelease                                                                 #
################################################################################

## Where to upload packages to
# '/staging/' is appended; this is for compatibility with previous versions.
REPODEST=repo@parabola.nu:staging/$LIBREUSER

## These are run before and after uploading packages
HOOKPRERELEASE="ssh -fN ${REPODEST%%:*}"
HOOKPOSTRELEASE="sudo librechroot clean-repo"

################################################################################
# dagpkg/fullpkg/treepkg                                                       #
################################################################################

# Note: Not being set is valid for any of the HOOK* settings.

# Run a command to modify ./PKGBUILD before building
# NOTE: fullpkg ONLY
#HOOKPKGBUILDMOD="mips-add"

# Run a command before running FULLBUILDCMD
# NOTE: IGNORED by fullpkg
#HOOKPREBUILD=""

## Uncomment one of those or make one of your choice
# NOTE: fullpkg passes this to eval(1bash), where the others run it directly.
# 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"
#HOOKLOCALRELEASE="mipsrelease"

################################################################################
# toru                                                                         #
################################################################################

TORUPATH=/var/lib/libretools/toru