summaryrefslogtreecommitdiff
path: root/make_osx_package.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-09-19 21:16:38 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-09-19 21:16:38 -0700
commit8708e2bf1b5c1dbb77e47b44abb59c7b6e77711a (patch)
tree6c1d479b1ca0d31ca039f1d62233646ba50a4343 /make_osx_package.sh
parent8df53506c7b9e57f92c71f33bf8f5097a9b96e86 (diff)
Don't use unicode_collation in building OSX package.
It adds something like 50MB of dependencies to the package.
Diffstat (limited to 'make_osx_package.sh')
-rwxr-xr-xmake_osx_package.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index f21c11c8f..2898b9e90 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -7,7 +7,6 @@ RESOURCES=$DIST/Resources
ROOT=$DIST/pandoc
SCRIPTS=osx-resources
BASE=pandoc-$VERSION
-ICU=/usr/local/Cellar/icu4c/51.1
ME=jgm
CODESIGNID="Developer ID Application: John Macfarlane"
PACKAGEMAKER=/Applications/PackageMaker.app/Contents/MacOS/PackageMaker
@@ -22,8 +21,8 @@ cabal update
echo Building pandoc...
cabal sandbox init
-cabal install -v1 --reinstall --flags="embed_data_files unicode_collation" --extra-lib-dirs=$ICU/lib --extra-include-dirs=$ICU/include pandoc-citeproc
-cabal install -v1 --reinstall --flags="embed_data_files"
+cabal install --reinstall --flags="embed_data_files" pandoc-citeproc
+cabal install --reinstall --flags="embed_data_files"
mkdir -p $ROOT/usr/local/bin
mkdir -p $ROOT/usr/local/share/man/man1
@@ -34,7 +33,6 @@ for f in $EXES; do
cp $SANDBOX/share/man/man1/$f.1 $ROOT/usr/local/share/man/man1/
done
cp $SANDBOX/share/man/man5/pandoc_markdown.5 $ROOT/usr/local/share/man/man5/
-cp -av /usr/local/opt/icu4c/lib/*.dylib $ROOT/usr/local/opt/icu4c/lib/
chown -R $ME:staff $DIST
# gzip $ROOT/usr/local/share/man/man?/*.*