Updated the MacOS packaging

This patch updates the MacOS packaging
to the new package tool pkgbuild.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>