4
TAR=../xmlstreambuffer_$VERSION.orig.tar.xz
5
DIR=xmlstreambuffer-$VERSION
6
TAG=$(echo "streambuffer-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
8
svn export https://svn.java.net/svn/xmlstreambuffer~svn/tags/${TAG}/ $DIR
9
XZ_OPT=--best tar -c -J -f $TAR \
14
--exclude '.settings' \
15
--exclude '.project' \
16
--exclude '.classpath' \
21
# move to directory 'tarballs'
22
if [ -r .svn/deb-layout ]; then
24
mv $TAR $origDir && echo "moved $TAR to $origDir"