repack script removed (should use get-orig-source instead since the zip upstream doesn't contain all the mandatory things
Sylvestre Ledru
14 years ago
0 | #!/bin/sh -e | |
1 | ||
2 | # called by uscan with '--upstream-version' <version> <file> | |
3 | DIR=j3d-$2 | |
4 | TAR=../j3d_$2.orig.tar.gz | |
5 | ||
6 | # clean up the upstream tarball | |
7 | unzip $3 -d $DIR | |
8 | tar -c -z -f $TAR $DIR | |
9 | rm -rf $DIR $3 | |
10 | ||
11 | # move to directory 'tarballs' | |
12 | if [ -r .svn/deb-layout ]; then | |
13 | . .svn/deb-layout | |
14 | mv $TAR $origDir | |
15 | echo "moved $TAR to $origDir" | |
16 | fi | |
17 | ||
18 | exit 0 |