summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlashbunny2019-10-12 19:35:31 -0400
committerSlashbunny2019-10-12 19:35:31 -0400
commitc11171e83dcd5782cacd66923e31449fbd086c41 (patch)
tree491d5b71189de70cc80111efd35a9e3a071b867b
parenta7d64b22acdfce6d32d6ba6685e560e24fae8c13 (diff)
downloadaur-c11171e83dcd5782cacd66923e31449fbd086c41.tar.gz
Update pkgver, add install file
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--weechat-poljar-matrix-git.install24
3 files changed, 28 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9c6f64710e01..a64986a7705e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 7f55b9b317d2..cb9af2a0fd15 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 ""
+}