]> Dogcows Code - chaz/yoink/commitdiff
preliminary macosx packaging
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sun, 13 Dec 2009 18:25:33 +0000 (11:25 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sun, 13 Dec 2009 18:25:33 +0000 (11:25 -0700)
macosx/bundle.tar.bz2 [new file with mode: 0644]
macosx/mkbundle.sh.in [new file with mode: 0644]

diff --git a/macosx/bundle.tar.bz2 b/macosx/bundle.tar.bz2
new file mode 100644 (file)
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 (file)
index 0000000..c71ac8c
--- /dev/null
@@ -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
+
This page took 0.024732 seconds and 4 git commands to generate.