~ubuntu-branches/ubuntu/trusty/atinject-jsr330/trusty

« back to all changes in this revision

Viewing changes to debian/orig-tar.sh

  • Committer: Package Import Robot
  • Author(s): Miguel Landaeta
  • Date: 2011-09-03 19:45:45 UTC
  • Revision ID: package-import@ubuntu.com-20110903194545-1tlyu1pq6tfcvy2a
Tags: 1.0-2
* Provide maven artifact.
* Fix watch file.
* Bump Standards-Version to 3.9.2. No changes were required.
* Update copyright file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
set -e
4
4
 
5
 
# called by uscan with '--upstream-version' <version> <file>
6
 
echo "version $2"
 
5
url="http://atinject.googlecode.com/files/javax.inject.zip"
7
6
package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
8
7
version=`dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p'`
9
 
tarball=$3
 
8
tarball="javax.inject.zip"
10
9
TAR=${package}_${version}.orig.tar.gz
11
10
DIR=${package}-${version}.orig
12
11
 
 
12
wget $url
13
13
unzip $tarball -d $DIR
14
14
unzip $DIR/javax.inject-src.zip -d $DIR
15
15