X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=macosx%2Fmkbundle.sh.in;fp=macosx%2Fmkbundle.sh.in;h=c71ac8cfc966917790b9e9c7cc9db6bb00d9c4fd;hp=0000000000000000000000000000000000000000;hb=99ac607f489023a7aa17bfb046113b0e4a65dab6;hpb=7e84479de612a4ce287c6f63deb014b447a993ec diff --git a/macosx/mkbundle.sh.in b/macosx/mkbundle.sh.in new file mode 100644 index 0000000..c71ac8c --- /dev/null +++ b/macosx/mkbundle.sh.in @@ -0,0 +1,21 @@ +#!/bin/sh + +# +# Yoink +# Run this script to create a macosx app bundle. +# + +# Anchor paths +ROOT_DIR="$PWD/.." + +# Extract the bundle skeleton +tar xjf bundle.tar.bz2 + +sed -i -e 's/\@VERSION\@/@VERSION@/g' Yoink.app/Contents/Info.plist + +# Prepare the binary +${STRIP:-strip} "$ROOT_DIR/src/yoink" +cp "$ROOT_DIR/src/yoink" Yoink.app/Contents/MacOS + +cp -r "$ROOT_DIR/data" Yoink.app/Contents/Resources/data +