/[debian-med]/trunk/packages/bowtie/tags/0.12.7-3/get-orig-source
ViewVC logotype

Contents of /trunk/packages/bowtie/tags/0.12.7-3/get-orig-source

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10567 - (show annotations) (download)
Tue Apr 24 12:03:53 2012 UTC (13 months ago) by tille
File size: 714 byte(s)
Tagged 0.12.7-3
1 #!/bin/sh
2 # script to download and repack source package of bowtie which comes in zip format
3
4 PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
5 VERSION=`uscan --verbose --force-download | \
6 grep "Newest version on remote site is .* local version is .*" | \
7 head -n 1 | \
8 sed "s/Newest version on remote site is \([-0-9.]\+\),.*/\1/"`
9
10 mkdir -p ../tarballs
11 cd ../tarballs
12
13 UPSTREAMDIR=${PKG}-${VERSION}
14 unzip ../"${UPSTREAMDIR}-src.zip"
15
16 ## remove copy of SeqAn library - unfortunately the package does not compile
17 ## with the Debian packaged version 1.2
18 #rm -rf "${UPSTREAMDIR}"/SeqAn-1.1
19
20 GZIP="--best --no-name" tar -czf "$PKG"_"$VERSION".orig.tar.gz "${UPSTREAMDIR}"
21 rm -rf "${UPSTREAMDIR}"
22

  ViewVC Help
Powered by ViewVC 1.1.5