summaryrefslogtreecommitdiff
path: root/src/libretools.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/libretools.conf')
-rw-r--r--src/libretools.conf83
1 files changed, 83 insertions, 0 deletions
diff --git a/src/libretools.conf b/src/libretools.conf
new file mode 100644
index 0000000..593aed6
--- /dev/null
+++ b/src/libretools.conf
@@ -0,0 +1,83 @@
+#!/bin/bash # non-executable, but put this there as a hint to text editors
+
+################################################################################
+# misc #
+################################################################################
+
+# The dir where you work on
+WORKDIR=/home/$LIBREUSER/packages
+
+## Blacklist URL
+BLACKLIST=https://repo.parabolagnulinux.org/docs/blacklist.txt
+
+## Diff tool (vimdiff, gvimdiff, meld, etc)
+## Used by `aur`, `diff-unfree`
+DIFFTOOL=`which kdiff3 meld gvimdiff vimdiff colordiff diff 2>/dev/null|sed 's/\s.*//;1q'`
+
+## The repos you'll be packaging for
+## Used by `toru`, `createworkdir`
+# 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
+#ABSLIBREGIT=http://projects.parabolagnulinux.org/abslibre.git
+ABSLIBREGIT=ssh://git@projects.parabolagnulinux.org:1863/srv/git/abslibre.git
+
+################################################################################
+# librerelease #
+################################################################################
+
+## Where to upload packages to
+# Don't change unless you know what you're doing and you won't screw
+# anything ;)
+REPODEST=repo@repo:/srv/http/repo/public
+## Assumes something similar in your .ssh/config:
+# Host repo
+# Port 1863
+# HostName repo.parabolagnulinux.org
+
+## These are run before and after uploading packages
+HOOKPRERELEASE="ssh -fN ${REPODEST%%:*}"
+HOOKPOSTRELEASE="sudo librechroot clean-repo"
+
+################################################################################
+# fullpkg/treepkg #
+################################################################################
+
+# Note: fullpkg accepts HOOK* settings not being set, treepkg requires them to
+# be set.
+
+# NOTE: fullpkg ONLY
+#HOOKPKGBUILDMOD="mips-add"
+
+# Run a command before running FULLBUILDCMD, usually to cleanup uneeded packages
+# Note: Recent versions of libremakepkg run chcleanup for you.
+# NOTE: treepkg ONLY
+HOOKPREBUILD=":"
+#HOOKPREBUILD="chcleanup"
+
+## 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
+# succesfully. When run, it is given a repository name as a single argument.
+HOOKLOCALRELEASE="librestage"
+#HOOKLOCALRELEASE="mipsrelease"
+
+################################################################################
+# toru #
+################################################################################
+
+TORUPATH=/var/lib/libretools/toru