summaryrefslogtreecommitdiffstats
path: root/util/scripts/mac-binary/doit.sh
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-04-17 10:40:52 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-04-17 10:40:52 (GMT)
commitbb2e4df9bee3148e819c98410aa36e22dad95d7a (patch)
treea6e6e8c070a72378d4b2e5f39ad3cc9c368b61ab /util/scripts/mac-binary/doit.sh
downloadQt-bb2e4df9bee3148e819c98410aa36e22dad95d7a.zip
Qt-bb2e4df9bee3148e819c98410aa36e22dad95d7a.tar.gz
Qt-bb2e4df9bee3148e819c98410aa36e22dad95d7a.tar.bz2
Initial import of kinetic-animations branch from the old kinetic
repository to the new repository
Diffstat (limited to 'util/scripts/mac-binary/doit.sh')
-rwxr-xr-xutil/scripts/mac-binary/doit.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/util/scripts/mac-binary/doit.sh b/util/scripts/mac-binary/doit.sh
new file mode 100755
index 0000000..109f014
--- /dev/null
+++ b/util/scripts/mac-binary/doit.sh
@@ -0,0 +1,24 @@
+#!/bin/bash -e
+[ -r $HOME/.bashrc ] && . $HOME/.bashrc
+VERSION=$1
+
+PACKAGE=qt-mac-commercial-src-${VERSION}.tar.gz
+OSPACKAGE=qt-mac-opensource-src-${VERSION}.tar.gz
+EVALPACKAGE=qt-mac-evalpatches-src-${VERSION}.tar.gz
+
+echo Downloading source packages...
+curl -O http://tirion.troll.no/~qt/packages/$VERSION/$PACKAGE
+curl -O http://tirion.troll.no/~qt/packages/$VERSION/$OSPACKAGE
+curl -O http://tirion.troll.no/~qt/packages/$VERSION/$EVALPACKAGE
+
+echo Building commercial package...
+./package/mkpackage -packages $HOME/tmp/mac-binary/install -qtpackage $PWD/$PACKAGE >log 2>&1
+
+echo Building opensource package...
+./package/mkpackage -packages $HOME/tmp/mac-binary/install -qtpackage $PWD/$OSPACKAGE >>log 2>&1
+
+echo Building eval package...
+./package/mkpackage -packages $HOME/tmp/mac-binary/install -qtpackage $PWD/$PACKAGE -licensetype eval >>log 2>&1
+
+echo -n Uploading results...
+scp -B outputs/*.dmg qt@tirion:public_html/packages/$VERSION