~allsymes/vineyard/fixes

« back to all changes in this revision

Viewing changes to tools/package_python-wine.sh

  • Committer: Christian Dannie Storgaard
  • Date: 2010-02-09 04:48:24 UTC
  • Revision ID: cybolic@gmail.com-20100209044824-k4gmganwgozlod92
Finished packaging work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
cd "$path"
10
10
 
11
11
echo -n "Copying the $name directory to /tmp..."
12
 
if [ -d "/tmp/$dir" ]; then
13
 
        rm -R "/tmp/$dir"
 
12
if [ -d "/tmp/$name"-"$version" ]; then
 
13
        rm -R "/tmp/$name"-"$version"
14
14
fi
15
 
cp -R "$dir" "/tmp/$dir"
 
15
cp -R "$dir" "/tmp/$name"-"$version"
16
16
echo " done."
17
17
 
18
18
cd /tmp
19
19
 
20
20
echo -n "Creating TAR.GZ archive of $name version $version..."
21
 
tar --exclude "$name/.bzr" --exclude "$dir/debian" -czf "$name"_"$version.orig.tar.gz" $dir
 
21
tar --exclude "$name"-"$version/.bzr" --exclude "$name"-"$version/debian" -czf "$name"_"$version.orig.tar.gz" "$name"-"$version"
 
22
echo " done."
 
23
 
 
24
echo -n "Creating binary package of $name..."
 
25
cd "$name"-"$version"
 
26
debuild -sa
 
27
cd ..
22
28
echo " done."
23
29
 
24
30
echo -n "Creating source package of $name..."
25
 
cd $dir
 
31
cd "$name"-"$version"
26
32
debuild -S -sa
27
33
cd ..
28
34
echo " done."
29
 
 
30
 
echo -n "Creating binary package of $name..."
31
 
cd $dir
32
 
debuild -sa
33
 
cd ..
34
 
echo " done."