diff options
author | Slashbunny | 2019-10-12 19:35:31 -0400 |
---|---|---|
committer | Slashbunny | 2019-10-12 19:35:31 -0400 |
commit | c11171e83dcd5782cacd66923e31449fbd086c41 (patch) | |
tree | 491d5b71189de70cc80111efd35a9e3a071b867b | |
parent | a7d64b22acdfce6d32d6ba6685e560e24fae8c13 (diff) | |
download | aur-c11171e83dcd5782cacd66923e31449fbd086c41.tar.gz |
Update pkgver, add install file
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | weechat-poljar-matrix-git.install | 24 |
3 files changed, 28 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = weechat-poljar-matrix-git pkgdesc = Python plugin for Weechat to communicate over the Matrix protocol - pkgver = r685.f5f08cb + pkgver = r690.b26dc83 pkgrel = 1 url = https://github.com/poljar/weechat-matrix + install = weechat-poljar-matrix-git.install arch = any license = custom makedepends = git @@ -1,7 +1,7 @@ # Maintainer: Slash <youremail@domain.com> pkgname=weechat-poljar-matrix-git -pkgver=r685.f5f08cb +pkgver=r690.b26dc83 pkgrel=1 pkgdesc="Python plugin for Weechat to communicate over the Matrix protocol" arch=('any') @@ -13,6 +13,7 @@ depends=('python-aiohttp' 'python-atomicwrites' 'python-attrs' 'python-future' ' makedepends=('git') provides=('weechat-poljar-matrix') conflicts=('weechat-poljar-matrix') +install='weechat-poljar-matrix-git.install' source=('weechat-matrix::git+https://github.com/poljar/weechat-matrix.git') md5sums=('SKIP') diff --git a/weechat-poljar-matrix-git.install b/weechat-poljar-matrix-git.install new file mode 100644 index 000000000000..23937c39fb5c --- /dev/null +++ b/weechat-poljar-matrix-git.install @@ -0,0 +1,24 @@ + +post_install() { + echo "In order to use this plugin after installation, you'll need to run the following commands as the user that is running weechat:" + echo "" + echo " $ ln -s /usr/lib/weechat/python/matrix/ ~/.weechat/python/" + echo " $ ln -s /usr/lib/weechat/python/matrix.py ~/.weechat/python/" + echo "" + echo "If you want the script to be loaded on start-up, you'll also need to symlink it into the autoload folder:" + echo "" + echo " $ ln -s /usr/lib/weechat/python/matrix.py ~/.weechat/python/autoload/" + echo "" +} + +post_upgrade() { + echo "In order to use this plugin after installation, you'll need to run the following commands as the user that is running weechat:" + echo "" + echo " $ ln -s /usr/lib/weechat/python/matrix/ ~/.weechat/python/" + echo " $ ln -s /usr/lib/weechat/python/matrix.py ~/.weechat/python/" + echo "" + echo "If you want the script to be loaded on start-up, you'll also need to symlink it into the autoload folder:" + echo "" + echo " $ ln -s /usr/lib/weechat/python/matrix.py ~/.weechat/python/autoload/" + echo "" +} |