#!/bin/bash cd "$( dirname "$0" )" # Default TDE version (if unspecified in 'components.txt') DEFAULT_VERSION="3.5.12.99" clear cat </dev/null mkdir -p "${TMPDIRTDE}/${COMP}" pushd "${COMP}/.." >/dev/null echo "Extracting '${COMP}' from SVN ..." case "${COMP##*/}" in "qt3") git clone http://scm.trinitydesktop.org/scm/git/tde; mv tde/main/dependencies/qt3 . ;; *) svn export --force --quiet svn://anonsvn.kde.org/home/kde/branches/trinity/${COMP};; esac popd >/dev/null echo "Creating archive '${ARCHIVENAME}' ..." tar cfz ${ARCHIVEDIR}/${ARCHIVENAME} ${COMP} popd >/dev/null echo "Cleaning temporary directory ..." rm -rf "${TMPDIRTDE}" cat <