move the config out of the script

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2020-05-15 01:47:43 +03:00
parent 38c8f5b585
commit 7f7da9e665

View File

@ -21,57 +21,8 @@ lockfile="$HOME/.cache/pkgbuilder/.lock"
lock || exit 1 lock || exit 1
trap cleanup EXIT trap cleanup EXIT
spark_repos="$HOME/public"
declare -A pkg_dests declare -A pkg_dests
pkg_dests=( source "$HOME/.config/pkgbuilder/config"
[spark]="$spark_repos/spark/import"
[spark-extra]="$spark_repos/spark-extra/import"
[spark-testing]="$spark_repos/spark-testing/import"
[spark-updates]="$spark_repos/spark-updates/spark/import"
)
repos=(
spark "https://code.fleshless.org/pkgbuilds/sinit-spark"
spark "https://code.fleshless.org/pkgbuilds/sinit-sysvcompat"
spark "https://code.fleshless.org/pkgbuilds/smdev"
spark "https://code.fleshless.org/pkgbuilds/spark-etc"
spark "https://code.fleshless.org/pkgbuilds/spark-rc"
spark "https://code.fleshless.org/pkgbuilds/ssm"
spark "https://code.fleshless.org/pkgbuilds/ssm-services-git"
spark "https://code.fleshless.org/pkgbuilds/systemd-dummy"
spark "https://code.fleshless.org/pkgbuilds/ubase-extras"
spark "https://code.fleshless.org/pkgbuilds/udev-dummy"
spark "https://code.fleshless.org/pkgbuilds/xorg-noudev-conf"
spark-extra "https://code.fleshless.org/pkgbuilds/anope-services"
spark-extra "https://code.fleshless.org/pkgbuilds/chef-client"
spark-extra "https://code.fleshless.org/pkgbuilds/dmenu-q-xywh-xft-git"
spark-extra "https://code.fleshless.org/pkgbuilds/dxvk-bin"
spark-extra "https://code.fleshless.org/pkgbuilds/eudev"
spark-extra "https://code.fleshless.org/pkgbuilds/fake"
spark-extra "https://code.fleshless.org/pkgbuilds/graphicsmagick-webp"
spark-extra "https://code.fleshless.org/pkgbuilds/ircd-ratbox"
spark-extra "https://code.fleshless.org/pkgbuilds/lemonbar"
spark-extra "https://code.fleshless.org/pkgbuilds/libsystemd-standalone"
spark-extra "https://code.fleshless.org/pkgbuilds/loksh"
spark-extra "https://code.fleshless.org/pkgbuilds/mlmmj"
spark-extra "https://code.fleshless.org/pkgbuilds/nginx-mod-rtmp"
spark-extra "https://code.fleshless.org/pkgbuilds/posh"
spark-extra "https://code.fleshless.org/pkgbuilds/prm"
spark-extra "https://code.fleshless.org/pkgbuilds/qstat"
spark-extra "https://code.fleshless.org/pkgbuilds/scron"
spark-extra "https://code.fleshless.org/pkgbuilds/sx-utils"
spark-extra "https://code.fleshless.org/pkgbuilds/systemd-libs-systemd"
spark-extra "https://code.fleshless.org/pkgbuilds/ufw-tools"
spark-extra "https://code.fleshless.org/pkgbuilds/xkb-layout-ducky-mini"
spark-extra "https://code.fleshless.org/pkgbuilds/xsct-git"
spark-testing "https://code.fleshless.org/pkgbuilds/compton-git"
spark-testing "https://code.fleshless.org/pkgbuilds/fskit-git"
spark-testing "https://code.fleshless.org/pkgbuilds/ssm-git"
spark-testing "https://code.fleshless.org/pkgbuilds/xtitle-git"
)
wrkdir="$HOME/.cache/pkgbuilder/repositories" wrkdir="$HOME/.cache/pkgbuilder/repositories"
mkdir -p "$wrkdir" mkdir -p "$wrkdir"