2014-01-13 18:28:06 +04:00
|
|
|
#!/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
|
|
|
|
|
|
|
|
$JHBUILD_PREFIX/bin/python $HOME/.local/bin/gtk-mac-bundler hexchat.bundle
|
2014-01-29 01:18:00 +04:00
|
|
|
|
|
|
|
# These take up a lot of space in the bundle
|
|
|
|
echo "Cleaning up python files"
|
|
|
|
find ./HexChat.app/Contents/Resources/lib/python2.7 -name "*.pyo" -or -name "*.pyc" -delete
|