diff options
author | TingPing <tingping@tingping.se> | 2014-08-01 04:03:54 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-08-01 04:03:54 -0400 |
commit | 422edd8812090ee34d537c9b4ebe32f525949edc (patch) | |
tree | 3e138015bd90a51f03667e8217d5fdcd6989323d /osx/makebundle.sh | |
parent | 345c8a29ad45bd47bca9f4e0851f7045180ef8fd (diff) |
osx: Create bundles using homebrew
Just easier to maintain than jhbuild. See https://github.com/TingPing/homebrew-gnome for deps.
Diffstat (limited to 'osx/makebundle.sh')
-rwxr-xr-x | osx/makebundle.sh | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/osx/makebundle.sh b/osx/makebundle.sh index 930e72aa..e1af0586 100755 --- a/osx/makebundle.sh +++ b/osx/makebundle.sh @@ -1,24 +1,9 @@ #!/bin/sh -if [ -z "$JHBUILD_PREFIX" ]; then - echo "You must run this within a jhbuild shell." - exit 1 -fi - -if [ ! -f $JHBUILD_PREFIX/bin/python ]; then - echo "You must install python with jhbuild." - exit 1 -fi - rm -rf HexChat.app rm -f *.app.zip -$JHBUILD_PREFIX/bin/python $HOME/.local/bin/gtk-mac-bundler hexchat.bundle - -# These take up a lot of space in the bundle -echo "Cleaning up python files" -find ./HexChat.app/Contents/Resources/lib/python2.7 -name "*.pyc" -delete -find ./HexChat.app/Contents/Resources/lib/python2.7 -name "*.pyo" -delete +python $HOME/.local/bin/gtk-mac-bundler hexchat.bundle echo "Compressing bundle" #hdiutil create -format UDBZ -srcdir HexChat.app -quiet HexChat-2.9.6.1-$(git rev-parse --short master).dmg |