-cpu=`uname -p`
-if [ $cpu == x86_64 ] ; then
- ARCH=x86_64 appimagetool citadel.AppDir/
- md5sum Citadel-x86_64.AppImage | awk ' { print $1 } ' >Citadel-x86_64.AppImage.md5
-else
- ARCH=ARM appimagetool citadel.AppDir/
- md5sum Citadel-armhf.AppImage | awk ' { print $1 } ' >Citadel-armhf.AppImage.md5
+CPU=`uname -m`
+basefilename=citadel-`date +%s`
+if [ $CPU == x86_64 ] ; then
+ export ARCH=x86_64
+elif [ $CPU == armv7l ] ; then
+ export ARCH=ARM