Help to create package osx on build nextcloud-client

Hi All,
I need some info to create the package building
nextcloud-client on osx.
THZ