1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 10:48:33 +01:00
Clementine-audio-player-Mac.../dist/maketarball.sh
2010-04-15 15:49:47 +00:00

15 lines
446 B
Bash
Executable File

#!/bin/sh
name=clementine
url=`svn info | grep URL | head -n1 | awk '{print $2}' | sed 's/\/dist//'`
version=`grep Version $name.spec | head -n1 | awk '{print $2}'`
echo "Checking out $url into $name-$version..."
rm -rf $name-$version
svn export $url $name-$version
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