File: orig-tar.sh

package info (click to toggle)
libsequence-library-java 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 496 kB
  • ctags: 672
  • sloc: java: 3,110; xml: 35; sh: 12; makefile: 7
file content (15 lines) | stat: -rwxr-xr-x 370 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

PACKAGE=$(dpkg-parsechangelog -S Source)
VERSION=$2
DIR=${PACKAGE}-${VERSION}
TAR=../${PACKAGE}_${VERSION}.orig.tar.xz

svn export http://svn.svnkit.com/repos/3rdparty/de.regnis.q.sequence/tags/$VERSION $DIR
tar -c -J -f $TAR \
    --exclude '*.jar' \
    --exclude '.settings' \
    --exclude 'gradle' \
    --exclude 'gradlew*' \
    $DIR
rm -rf $DIR $3