From: Charles McGarvey Date: Sun, 13 Dec 2009 18:25:33 +0000 (-0700) Subject: preliminary macosx packaging X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=99ac607f489023a7aa17bfb046113b0e4a65dab6;p=chaz%2Fyoink preliminary macosx packaging --- diff --git a/macosx/bundle.tar.bz2 b/macosx/bundle.tar.bz2 new file mode 100644 index 0000000..46446ab Binary files /dev/null and b/macosx/bundle.tar.bz2 differ 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 +