if [[ $PORTAUDIO19_VERSION == svn ]] ; then
if [ -f  $SOURCE_CACHE/$SOURCE ] ; then
        rm  $SOURCE_CACHE/$SOURCE
fi

message "${MESSAGE_COLOR}Starting SVN checkout of ${FILE_COLOR}${SOURCE}${MESSAGE_COLOR}...${DEFAULT_COLOR}"

svn co https://www.portaudio.com/repos/portaudio/branches/v19-devel . &&
mv v19-devel $SPELL-$VERSION &&

tar -jcf $SOURCE $SPELL-$VERSION &&

mv $SOURCE $SOURCE_CACHE/$SOURCE &&

message "${MESSAGE_COLOR}SVN Checkout complete...${DEFAULT_COLOR}"
else
default_download
fi
