~ubuntu-branches/debian/sid/args4j/sid

« back to all changes in this revision

Viewing changes to debian/orig-tar.sh

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2014-03-03 08:53:20 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140303085320-qgk0qm627i4zdumz
Tags: 2.0.26-1
* Team upload.
* New upstream release
* Removed the unused dependency on Ant
* Standards-Version updated to 3.9.5 (no changes)
* Removed the unused jar files and the Eclipse project files
  from the upstream tarball
* Use XZ compression for the upstream tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
VERSION=$2
 
5
DIR=args4j-args4j-site-${VERSION}
 
6
TAR=../args4j_${VERSION}.orig.tar.xz
 
7
 
 
8
tar -xf $3
 
9
rm $3
 
10
XZ_OPT=--best tar -c -v -J -f $TAR \
 
11
    --exclude '*.jar' \
 
12
    --exclude '*.zip' \
 
13
    --exclude '*.settings' \
 
14
    --exclude '*.classpath' \
 
15
    --exclude '*.project' \
 
16
    $DIR
 
17
rm -Rf $DIR