File: get-orig-source

package info (click to toggle)
jsoup 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,296 kB
  • sloc: java: 13,773; xml: 170; sh: 16; makefile: 6
file content (22 lines) | stat: -rwxr-xr-x 712 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
set -e

VERSION=1.6.2

TARBALL=jsoup_${VERSION}.orig.tar

FILES_TO_DELETE="jhy-jsoup-*/src/test/resources/htmltests/baidu-cn-home.html
jhy-jsoup-*/src/test/resources/htmltests/google-ipod.html
jhy-jsoup-*/src/test/resources/htmltests/news-com-au-home.html
jhy-jsoup-*/src/test/resources/htmltests/nyt-article-1.html
jhy-jsoup-*/src/test/resources/htmltests/smh-biz-article-1.html
jhy-jsoup-*/src/test/resources/htmltests/yahoo-article-1.html
jhy-jsoup-*/src/test/resources/htmltests/yahoo-jp.html
"

echo "Creating tarball '$TARBALL'..."

uscan --download-version $VERSION --rename --verbose --force-download
gunzip ../$TARBALL
tar --delete --wildcards -f ../$TARBALL $FILES_TO_DELETE
gzip ../$TARBALL