Please rename this package to weechat-matrix-protocol-script-git to avoid a naming confusion with the freshly added weechat-matrix package in [community]: the package there is based on weechat-matrix by poljar instead of weechat-matrix-protocol-script by torhve since the former is more actively developed.
To rename the package, change $pkgname to weechat-matrix-protocol-script-git and upload the new PKGBUILD to the AUR, then file a merge request to merge weechat-matrix-git into weechat-matrix-protocol-script-git. Thank you very much!
@caevaroy - I added "weechat-poljar-matrix-git" to the AUR
@syther @jemadux
Turns out what I was trying to do is forbidden (as from an helpful guy on #archlinux-aur), so matrix.lua is now put in /opt. After installing the package, simply run:
mkdir -p ~/.weechat/lua/autoload
ln -s /opt/matrix.lua ~/.weechat/lua
ln -s ~/.weechat/lua/matrix.lua ~/.weechat/lua/autoload
I get this error when trying to build;
ln: failed to create symbolic link '/home/****/weechat/lua/autoload/matrix.lua': Not a directory
When I try to manually create this directory i get this error.
$ mkdir: cannot create directory ‘lua’: File exists
I can not create the Folder lua because a file called lua alread exists.
@jemadux: can you be more specific? does it fail to build? what error do you get?
not working on my installation ..please fix it !