[general] version=1.2.x download-url=http://sourceforge.net/code-snapshots/svn/t/tu/turbovnc/code/turbovnc-code-2898-branches-1.2.x.zip [BUILD_SCRIPT] download= cd ${BA_PKG_WORK_DIR} file=`python -c "import os; import sys; print os.path.basename(sys.argv[1])" $DOWNLOAD_URL` if ! test -f ${file} ; then wget $DOWNLOAD_URL fi dir=`python -c "import os; import sys; print os.path.splitext(sys.argv[1])[0]" ${file}` unzip -o ${file} mv ${dir} $BA_PKG_SOURCE_DIR