From 44c866b682642e09d5de1c2ffdfe9928e51d8772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Sat, 5 Feb 2011 12:53:02 -0300 Subject: CreateWorkDir creates the dir tree for packaging --- libretools.conf | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'libretools.conf') diff --git a/libretools.conf b/libretools.conf index 47f268a..00cbb28 100644 --- a/libretools.conf +++ b/libretools.conf @@ -1,6 +1,14 @@ ## 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') + +# The architectures +ARCHES=('i686' 'x86_64') + ## The directory where the chroots are stored CHROOTDIR=/home/chroot @@ -13,15 +21,18 @@ CHCOPY=copy CACHEDIR=`grep "^#\?CacheDir" /etc/pacman.conf | cut -d'=' -f2` ## Directory where you store PKGBUILD patches -PATCHDIR= +PATCHDIR=${WORKDIR}/abslibre/patches ## Parabola hostname (should be the same used on ssh_config PARABOLAHOST=parabola ## Server destination of libre packages -LIBREDESTDIR=parabolagnulinux.org/repo/staging +LIBREDESTDIR=parabolagnulinux.org/free/staging LIBRESRCDIR=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) @@ -44,7 +55,10 @@ LIBRESRCDIR=parabolagnulinux.org/repo/pkgbuilds # Checks if vars aren't empty -for VAR in CHROOTDIR CHROOT CHCOPY CACHEDIR PARABOLAHOST LIBREDESTDIR LIBRESRCDIR; do +# +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 -- cgit v1.2.2