2010-01-17 23:12:17 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
name=clementine
|
2010-03-23 00:11:13 +01:00
|
|
|
url=`svn info | grep URL | head -n1 | awk '{print $2}' | sed 's/\/dist//'`
|
2010-05-03 15:58:41 +02:00
|
|
|
version="@CLEMENTINE_VERSION@"
|
2010-01-17 23:12:17 +01:00
|
|
|
|
2010-03-23 00:11:13 +01:00
|
|
|
echo "Checking out $url into $name-$version..."
|
|
|
|
|
2010-01-17 23:12:17 +01:00
|
|
|
rm -rf $name-$version
|
|
|
|
svn export $url $name-$version
|
2010-04-15 17:49:47 +02:00
|
|
|
rm -rfv $name-$version/debian
|
|
|
|
tar -czf $name-$version.tar.gz $name-$version
|
|
|
|
cp $name-$version.tar.gz ${name}_${version}.orig.tar.gz
|
|
|
|
svn export $url/debian $name-$version/debian
|