File: orig-tar.sh

package info (click to toggle)
libaxiom-java 1.2.8-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 5,724 kB
  • sloc: java: 42,576; xml: 12,635; sh: 9; makefile: 4
file content (11 lines) | stat: -rwxr-xr-x 293 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

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

# clean up the upstream tarball
svn export http://svn.apache.org/repos/asf/webservices/axiom/tags/$2/ $DIR
XZ_OPT=--best tar -c -J -f $TAR $DIR
rm -rf $DIR $3