4 svn=http://$p.googlecode.com/svn/trunk
5 dl=https://code.google.com/p/$p/downloads/list?can=3
10 if [ -z "$html" ]; then
11 html=$(lynx -width 1200 -dump -nolist "$dl")
16 rev=$(html | perl -nne '/'$fn'-latest.tar.gz.*Build at r(\d+)/and print $1')
17 date=$(html | perl -ne '/'$fn'-(\d+).tar.gz.*Build at r'$rev'/and print $1')
20 if [ ! -d "$d" ]; then
21 svn export -q $svn@$rev $p-$date
25 if [ ! -f "$t" ]; then
26 tar -cjf $t --exclude-vcs $d