pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] [pingus] push by address@hidden - mac srcipt creates DMG on


From: pingus
Subject: [Pingus-CVS] [pingus] push by address@hidden - mac srcipt creates DMG on 2011-12-29 20:28 GMT
Date: Thu, 29 Dec 2011 20:28:55 +0000

Revision: 218cfd770af4
Author:   Josh Dye <address@hidden>
Date:     Thu Dec 29 12:28:02 2011
Log:      mac srcipt creates DMG

http://code.google.com/p/pingus/source/detail?r=218cfd770af4

Modified:
 /bundle_mac.sh

=======================================
--- /bundle_mac.sh      Wed Dec 28 10:21:18 2011
+++ /bundle_mac.sh      Thu Dec 29 12:28:02 2011
@@ -1,5 +1,6 @@
 echo "* Removing any existing installation"
 rm -rf ./Pingus.app
+rm -rf ./Pingus-`cat VERSION`.dmg

 echo "* Creating skeleton"
 mkdir -p ./Pingus.app/Contents/Resources
@@ -15,3 +16,15 @@

 echo "* Bunling dependencies"
dylibbundler -od -b -x ./Pingus.app/Contents/MacOS/pingus -d ./Pingus.app/Contents/libs/
+
+echo "* Creating DMG"
+       hdiutil create -size 100M -fs HFS+J -volname Pingus Pingus-tmp.dmg
+       hdiutil attach Pingus-tmp.dmg -readwrite -mount required
+       cp -R Pingus.app /Volumes/Pingus/
+       cp README /Volumes/Pingus
+       cp AUTHORS /Volumes/Pingus
+       cp COPYING /Volumes/Pingus
+       cp NEWS /Volumes/Pingus
+       hdiutil detach /Volumes/Pingus -force
+ hdiutil convert Pingus-tmp.dmg -format UDZO -imagekey zlib-level=9 -o Pingus-`cat VERSION`.dmg
+       rm Pingus-tmp.dmg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]