PLEASE NOTE
This PKGBUILD
is maintained on GitHub. Please use the following repository to submit patches, ask questions, and raise issues:
Git Clone URL: | https://aur.archlinux.org/wee-slack.git (read-only, click to copy) |
---|---|
Package Base: | wee-slack |
Description: | A WeeChat plugin for Slack.com |
Upstream URL: | https://github.com/wee-slack/wee-slack/ |
Licenses: | MIT |
Conflicts: | wee-slack-git |
Submitter: | swiftgeek |
Maintainer: | sudoforge |
Last Packager: | sudoforge |
Votes: | 8 |
Popularity: | 0.000000 |
First Submitted: | 2018-06-20 04:10 (UTC) |
Last Updated: | 2022-09-29 01:55 (UTC) |
PLEASE NOTE
This PKGBUILD
is maintained on GitHub. Please use the following repository to submit patches, ask questions, and raise issues:
POST-INSTALLATION INSTRUCTIONS
WeeChat is unable to source files from outside of a user's home directory. Because of this limitation, this package DOES NOT make the Slack plugin available to WeeChat without end user interaction.
Each user who wants to enable the Slack plugin needs to create symlinks in
the WeeChat configuration directory for their user (by default, ~/.weechat
).
The following commands will accomplish this:
$ ln -s /usr/lib/weechat/weemoji.json ~/.weechat/weemoji.json
$ ln -s /usr/lib/weechat/python/wee_slack.py ~/.weechat/python/autoload/wee_slack.py
@mprom You just need to create a symlink. You're right that Weechat doesn't source files outside of home.
I added a warning to wee-slack-git; should probably do that here too. Check out the wee-slack-git PKGBUILD for more info:
https://github.com/sudoforge/pkgbuilds/blob/master/wee-slack-git/PKGBUILD
I'm not sure this package currently installs wee-slack completely? AFAICS it just creates /usr/lib/weechat/python/wee_slack.py , but in order for it to work, it needs to be in ~/.weechat/python and in order for it to always start with weechat, it needs to have a symbolic link in ~/.weechat/python/autoload.
Essentially, we can skip the middle step and just do ln -s /usr/lib/weechat/python/wee_slack.py /home/<user>/.weechat/python/autoload
in order to have it loaded with weechat every time.
I get that the package probably needs to be installed somewhere outside of /home, but I'm wondering if we can somehow add the missing last step (symlink to autoload) to the PKGBUILD? Or at least add a notification explaining what's missing.
@gaelic Thanks for the heads up. This should be fixed.
python2 is no longer working; dep is not python-websocket-client
@swiftgeek, this package is now two releases behind. I'd be happy to co-maintain it if you want to add me.
Pinned Comments
sudoforge commented on 2020-07-18 02:27 (UTC)
PLEASE NOTE
This
PKGBUILD
is maintained on GitHub. Please use the following repository to submit patches, ask questions, and raise issues:https://github.com/sudoforge/pkgbuilds