## Blacklist URL BLACKLIST=http://repo.parabolagnulinux.org/docs/blacklist.txt # The dir where you work on WORKDIR=/home/$USER/packages # The repos you'll be packaging for REPOS=('libre' 'libre-testing' 'core' 'community' 'extra' 'social' 'sugar') # The architectures ARCHES=('i686' 'x86_64') ## The directory where the chroots are stored CHROOTDIR=/home/chroot ## The main chroot CHROOT=root ## The working copy CHCOPY=copy ## Obtains CacheDir from pacman.conf CACHEDIR=`grep "^#\?CacheDir" /etc/pacman.conf | cut -d'=' -f2` ## Directory where you store PKGBUILD patches PATCHDIR=${WORKDIR}/abslibre/patches ## Parabola hostname (should be the same used on ssh_config PARABOLAHOST=parabola ## Server destination of libre packages LIBREDESTDIR=/home/parabolavnx/parabolagnulinux.org/free LIBRESRCDIR=/home/parabolavnx/parabolagnulinux.org/repo/pkgbuilds ## ABSLibre ABSLIBREGIT=http://projects.parabolagnulinux.org/abslibre.git/ # Recommended SSH Config # SSH host, it's better if you have it configured on ~/.ssh/config # with ControlMaster auto (and a shell opened somewhere else) # # Example: # Host * # Protocol 2 # ControlMaster auto # ControlPath /tmp/ssh-%r@%h:%p # # Host parabola # Port 22 # HostName parabolagnulinux.org # User parabolavnx # IdentityFile ~/.ssh/id_rsa # Checks if vars aren't empty # for VAR in CHROOTDIR CHROOT CHCOPY CACHEDIR PARABOLAHOST LIBREDESTDIR \ LIBRESRCDIR BLACKLIST WORKDIR PATCHDIR REPOS ARCHES ABSLIBREGIT; do [[ -z ${!VAR} ]] && { echo "Configure $VAR var in $0" exit 1 } done