#!/bin/bash

export COPYFILE_DISABLE=true


cd universal-darwin

codesign -s   "Developer ID Application: Richard Koch" --force --timestamp --options=runtime xz
codesign -s   "Developer ID Application: Richard Koch" --force --timestamp --options=runtime xzdec
codesign -s   "Developer ID Application: Richard Koch" --force --timestamp --options=runtime lzmadec
codesign -s   "Developer ID Application: Richard Koch" --force --timestamp --options=runtime lz4

cd ..

(cd  universal-darwin; tar cf - . ) > universal-darwin.tar

 ./xz --compress universal-darwin.tar


