#!/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