summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Denhartog2021-02-24 18:03:08 -0700
committerBenjamin Denhartog2021-02-24 18:08:01 -0700
commit31d1e43b26fe657fa25e0513306706620eff24f3 (patch)
tree408e371cc8d70700590472b56ed7947a862aa332
parent11683769d072325fa80f093473ec0f81869609fb (diff)
downloadaur-31d1e43b26fe657fa25e0513306706620eff24f3.tar.gz
feat(wee-slack): new upstream release: 2.7.0
closes #40
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
-rw-r--r--wee-slack-git.install18
3 files changed, 12 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8457e785a823..bfb1c6e7395a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = wee-slack-git
pkgdesc = A WeeChat plugin for slack
- pkgver = 2.6.0.r0.g4aac4bf
+ pkgver = 2.7.0.r0.gda7a964
pkgrel = 1
url = https://github.com/wee-slack/wee-slack
install = wee-slack-git.install
diff --git a/PKGBUILD b/PKGBUILD
index cfa0c184db3e..8b6821d4d53f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# This PKGBUILD is managed at https://github.com/sudoforge/pkgbuilds
pkgname=wee-slack-git
-pkgver=2.6.0.r0.g4aac4bf
+pkgver=2.7.0.r0.gda7a964
pkgrel=1
pkgdesc="A WeeChat plugin for slack"
arch=('any')
@@ -29,10 +29,10 @@ package() {
cd "${srcdir}/${pkgname%-git}"
# Install the plugin script
- install -Dm644 wee_slack.py "${pkgdir}/usr/lib/weechat/python/wee_slack.py"
+ install -Dm644 wee_slack.py "${pkgdir}/usr/share/weechat/python/wee_slack.py"
# Install the emoji tab completion dictionary
- install -Dm644 weemoji.json "${pkgdir}/usr/lib/weechat/weemoji.json"
+ install -Dm644 weemoji.json "${pkgdir}/usr/share/weechat/weemoji.json"
# Install the plugin license
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
diff --git a/wee-slack-git.install b/wee-slack-git.install
index 3fd560134477..514126a1f6c1 100644
--- a/wee-slack-git.install
+++ b/wee-slack-git.install
@@ -2,20 +2,18 @@ _install_update_msg() {
cat <<EOF
-WeeChat is unable to source plugin scripts from outside of the process
-owner's configuration directory. Because of this limitation, this package
-**DOES NOT** make the plugin available to WeeChat without additional end
-user interaction.
+To autoload wee-slack on start up, each user will need to symlink the plugin to
+the correct autoload folder:
-Each user who wants to enable this plugin should create a symlink in the in
-the configuration directory for their user (by default, ~/.weechat):
+ \$ ln -s /usr/share/weechat/python/wee_slack.py ~/.weechat/python/autoload/
- \$ ln -s /usr/lib/weechat/weemoji.json ~/.weechat/weemoji.json
- \$ ln -s /usr/lib/weechat/python/wee_slack.py ~/.weechat/python/
-To load the script on start up, you'll also need to symlink it into the autoload folder:
+Previous versions of this package recommended creating symlinks in your local
+~/.weechat directory. These are no longer necessary, and their removal is
+recommended:
- \$ ln -s /usr/lib/weechat/python/wee_slack.py ~/.weechat/python/autoload/
+ \$ rm -f ~/.weechat/weemoji.json
+ \$ rm -f ~/.weechat/python/wee_slack.py
EOF