Commit 5394e999 authored by Giovanni Mascellani's avatar Giovanni Mascellani

Added real watch file

parent 11993dca
freehep-swing (2.0.3-4) unstable; urgency=low
* Added real watch file
-- Giovanni Mascellani <mascellani@poisson.phc.unipi.it> Thu, 01 Apr 2010 10:50:56 +0200
freehep-swing (2.0.3-3) unstable; urgency=low
* Moved default-jdk from Build-Depends-Indep to Build-Depends
......
#!/bin/sh -e
VERSION=$2
DOWNLOADED_FILE=$3
PACKAGE=$(dpkg-parsechangelog | sed -n 's/^Source: //p')
TAR=../${PACKAGE}_${VERSION}.orig.tar.gz
DIR=${PACKAGE}-${VERSION}
svn export svn://svn.freehep.org/svn/freehep/tags/$PACKAGE-$VERSION $DIR
GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
rm -rf $DIR
rm -f $DOWNLOADED_FILE
# Watch file missing, because upstream releases are available only via
# SVN, but uscan is unable to read in a SVN repository.
version=3
opts="uversionmangle=s/^.*-SNAPSHOT/~$1/,dversionmangle=s/\+dfsg[0-9]*//" \
http://java.freehep.org/maven2/org/freehep/freehep-swing/ \
(\d.*)/ debian debian/orig-tar.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment