comparison packaging/create-dist-package.sh.in @ 853:08065bb5de7c

Merge
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 30 Jul 2014 17:36:45 +0200
parents ecc6aa433253 637948e9e32d
children 1cc85fd3daa5
comparison
equal deleted inserted replaced
851:5a4fc27db446 853:08065bb5de7c
25 LC_ALL="de_DE.latin-1" echo "company=Bundesamt für Sicherheit in der Informationstechnik" > $TMPDIR/meta.ini 25 LC_ALL="de_DE.latin-1" echo "company=Bundesamt für Sicherheit in der Informationstechnik" > $TMPDIR/meta.ini
26 EST_SIZE=$(du -s $TMPDIR/windows | cut -f 1) 26 EST_SIZE=$(du -s $TMPDIR/windows | cut -f 1)
27 echo "version_number=@PROJECT_VERSION@" >> $TMPDIR/meta.ini 27 echo "version_number=@PROJECT_VERSION@" >> $TMPDIR/meta.ini
28 echo "setupname=%1TrustBridge-@PROJECT_VERSION@.exe" >> $TMPDIR/meta.ini 28 echo "setupname=%1TrustBridge-@PROJECT_VERSION@.exe" >> $TMPDIR/meta.ini
29 echo "productname=TrustBridge" >> $TMPDIR/meta.ini 29 echo "productname=TrustBridge" >> $TMPDIR/meta.ini
30 echo "info_url=https://wald.intevation.org/projects/trustbridge/" >> $TMPDIR/meta.ini 30 echo "info_url=http://wald.intevation.org/projects/trustbridge/" >> $TMPDIR/meta.ini
31 echo "productname_short=TrustBridge" >> $TMPDIR/meta.ini 31 echo "productname_short=TrustBridge" >> $TMPDIR/meta.ini
32 echo "description=TrustBridge" >> $TMPDIR/meta.ini 32 echo "description=TrustBridge" >> $TMPDIR/meta.ini
33 echo "size=$EST_SIZE" >> $TMPDIR/meta.ini 33 echo "size=$EST_SIZE" >> $TMPDIR/meta.ini
34 34
35 # Create a temporary NSIS file for the uninstaller cration 35 # Create a temporary NSIS file for the uninstaller cration
37 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \ 37 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
38 -Dversion_number=@PROJECT_VERSION@ \ 38 -Dversion_number=@PROJECT_VERSION@ \
39 -Dsetupname="$TMPDIR/TrustBridge-@PROJECT_VERSION@-uni.exe" \ 39 -Dsetupname="$TMPDIR/TrustBridge-@PROJECT_VERSION@-uni.exe" \
40 -Dproductname="TrustBridge" \ 40 -Dproductname="TrustBridge" \
41 -Dpath_sep="/" \ 41 -Dpath_sep="/" \
42 -Dinfo_url="https://wald.intevation.org/projects/trustbridge/" \ 42 -Dinfo_url="http://wald.intevation.org/projects/trustbridge/" \
43 -Dsize=$EST_SIZE \ 43 -Dsize=$EST_SIZE \
44 -DWRITE_UNINSTALLER \ 44 -DWRITE_UNINSTALLER \
45 -Dproductname_short="TrustBridge" @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi 45 -Dproductname_short="TrustBridge" @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi
46 wine $TMPDIR/TrustBridge-@PROJECT_VERSION@-uni.exe /S || true 46 wine $TMPDIR/TrustBridge-@PROJECT_VERSION@-uni.exe /S || true
47 mv ~/.wine/drive_c/tmp-uninstaller/Uninstall.exe $TMPDIR/windows 47 mv ~/.wine/drive_c/tmp-uninstaller/Uninstall.exe $TMPDIR/windows

http://wald.intevation.org/projects/trustbridge/