Package Details: wee-slack-git 2.3.0.r105.g1af420e-2

Git Clone URL: https://aur.archlinux.org/wee-slack-git.git (read-only, click to copy)
Package Base: wee-slack-git
Description: A WeeChat plugin for slack
Upstream URL: https://github.com/wee-slack/wee-slack
Keywords: irc slack wee-slack weechat
Licenses: MIT
Conflicts: wee-slack
Provides: wee-slack
Submitter: sudoforge
Maintainer: sudoforge
Last Packager: sudoforge
Votes: 2
Popularity: 0.180094
First Submitted: 2018-10-10 23:39
Last Updated: 2019-11-26 15:16

Pinned Comments

sudoforge commented on 2019-11-26 15:17

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

Latest Comments

sudoforge commented on 2019-11-26 15:17

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

hv15 commented on 2019-11-03 11:41

FYI, wee-slack only supports python 3+ now. The websocket-client dependency needs to be changed to python-websocket-client.

sudoforge commented on 2019-03-19 17:05

@hv15 that's a fair point. i was using pkgver mostly as a way to prompt users with a "hey, there are new commits" as opposed to using it for pinning at a specific reference.

I've added a pkgver() function to the PKGBUILD: https://github.com/sudoforge/pkgbuilds/commit/799bb82b7751664cbb4e4f82094f9c74317a1fbf

hv15 commented on 2019-03-19 11:11

Hi, currently the PKGBUILD just pulls the latest commit, which is not necessarily what is given as pkgver. This is not good... I think you should either include a git-specific pkgver() function or specify which commit you want using the git-specific fragment options for the sources=() array. Something like source=("git+${url}.git#commit=55dfe74") would work. HTH