summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Denhartog2021-02-25 06:39:10 -0700
committerBenjamin Denhartog2021-02-25 06:39:10 -0700
commita5f0f9f0b2a57dfc683fcba481e75655df16fd87 (patch)
treef42ba3e5cbb9c0498df8b204fa6e6bf73608e692
parent8b9f0aad319d9f961dc4426cb702fea7e37efeec (diff)
downloadaur-a5f0f9f0b2a57dfc683fcba481e75655df16fd87.tar.gz
feat(weechat-notify-send): update installation directory to /usr/share
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--weechat-notify-send.install16
3 files changed, 10 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e00cfcdb678f..c8e06126ba18 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = weechat-notify-send
pkgdesc = A WeeChat script that sends highlight and message notifications through notify-send
pkgver = 0.9
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/s3rvac/weechat-notify-send
install = weechat-notify-send.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 628c28fd998d..3bd1bb178ded 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=weechat-notify-send
pkgver=0.9
-pkgrel=4
+pkgrel=5
pkgdesc="A WeeChat script that sends highlight and message notifications through notify-send"
url='https://github.com/s3rvac/weechat-notify-send'
arch=('any')
@@ -22,7 +22,7 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
# Install the plugin script
- install -Dm644 notify_send.py ${pkgdir}/usr/lib/weechat/python/notify_send.py
+ install -Dm644 notify_send.py ${pkgdir}/usr/share/weechat/python/notify_send.py
# Install the plugin license
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
diff --git a/weechat-notify-send.install b/weechat-notify-send.install
index 85ade7874d70..133c71781f4e 100644
--- a/weechat-notify-send.install
+++ b/weechat-notify-send.install
@@ -2,19 +2,17 @@ _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/notify_send.py ~/.weechat/python/autoload/
- \$ ln -s /usr/lib/weechat/python/notify_send.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 a symlink in your local
+~/.weechat directory. This is no longer necessary, and its removal is
+recommended:
- \$ ln -s /usr/lib/weechat/python/notify_send.py ~/.weechat/python/autoload/
+ \$ rm -f ~/.weechat/python/notify_send.py
EOF