#!/bin/sh

# generate directory structure for an app bundle
mkdir -p Sin.app/Contents/MacOS
mkdir -p Sin.app/Contents/Frameworks
mkdir -p Sin.app/Contents/Resources

# package info
cp -p PkgInfo Sin.app/Contents
cp -p Info.plist Sin.app/Contents
# icon resources
cp -p sin.icns Sin.app/Contents/Resources
# needed frameworks
cp -pr SDL.framework Sin.app/Contents/Frameworks
# the binary
cp -p ../sin Sin.app/Contents/MacOS
