@raul03ma - One community member just shared an example of how he is packaging Mattermost for Arch Linux: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mattermost !
I originally posted about this in Developer Toolkit channel, so you can follow that thread for any other ideas that people might share.