Package list libslf4j-java / 87dd011
Keep slf4j-site/pom.xml in the upstream tarball Emmanuel Bourg 5 years ago
2 changed file(s) with 11 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
+0
-3
debian/orig-tar.exclude less more
0 *.jar
1 */site*
2 */slf4j-site*
00 #!/bin/sh -e
11
2 # $2 = version
3 # $3 = file
4 DIR=libslf4j-java-$2.orig
5 TAR=../libslf4j-java_$2.orig.tar.xz
2 PACKAGE=$(dpkg-parsechangelog -S Source)
3 VERSION=$2
4 DIR=${PACKAGE}-${VERSION}
5 TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
66
7 # clean up the upstream tarball
8 tar xzf $3
7 mkdir $DIR
8 tar -xf $3 --strip-components=1 -C $DIR
99 rm $3
10 mv slf4j-$2 $DIR
11 XZ_OPT=--best tar cJf $TAR -X debian/orig-tar.exclude $DIR
12 rm -rf $DIR
13
14 # move to directory 'tarballs'
15 if [ -r .svn/deb-layout ]; then
16 . .svn/deb-layout
17 mv $3 $origDir
18 echo "moved $3 to $origDir"
19 fi
10 XZ_OPT=--best tar -c -v -J -f $TAR \
11 --exclude '*.jar' \
12 --exclude 'site' \
13 $DIR
14 rm -Rf $DIR