diff options
author | Benjamin Denhartog | 2021-02-25 06:39:10 -0700 |
---|---|---|
committer | Benjamin Denhartog | 2021-02-25 06:39:10 -0700 |
commit | a5f0f9f0b2a57dfc683fcba481e75655df16fd87 (patch) | |
tree | f42ba3e5cbb9c0498df8b204fa6e6bf73608e692 | |
parent | 8b9f0aad319d9f961dc4426cb702fea7e37efeec (diff) | |
download | aur-a5f0f9f0b2a57dfc683fcba481e75655df16fd87.tar.gz |
feat(weechat-notify-send): update installation directory to /usr/share
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | weechat-notify-send.install | 16 |
3 files changed, 10 insertions, 12 deletions
@@ -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 @@ -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 |