summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSergej Pupykin2017-08-15 21:32:46 +0300
committerSergej Pupykin2017-08-15 21:32:46 +0300
commiteae0aa483675e0c03542e2fbd5bedf43c1fb3197 (patch)
tree67b05cdf0ea9d1c3c3f6bcaa78a711a863a49cd9 /PKGBUILD
parent59930f7e5d53f60be886a52ac860927a2e0b7cf0 (diff)
downloadaur-eae0aa483675e0c03542e2fbd5bedf43c1fb3197.tar.gz
upd
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 16 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2288113378b..9f960077ca3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,30 @@
pkgname=errbot
pkgver=5.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="a chatbot. It allows you to start scripts interactively from your chatrooms for any reason: random humour, chatops, starting a build, monitoring commits, triggering alerts..."
arch=(any)
url="https://github.com/errbotio/errbot"
license=('GPL')
+options=('emptydirs')
+backup=('etc/errbot/config.py')
depends=('python-daemonize' 'python-dnspython3' 'python-pygments-markdown-lexer'
'python-ansi' 'python-markdown' 'python-yapsy' 'python-colorlog'
'python-pyopenssl' 'python-rocket-errbot' 'python-bottle' 'python-webtest'
- 'python-sleekxmpp')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/errbotio/errbot/archive/$pkgver.tar.gz")
-sha256sums=('a705c3cd8a200c53e8b7209a471038767b281c496360d7495b5e6fe8747c4c36')
+ 'python-sleekxmpp' 'python-jinja')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/errbotio/errbot/archive/$pkgver.tar.gz"
+ "errbot.config.py"
+ "errbot.service")
+sha256sums=('a705c3cd8a200c53e8b7209a471038767b281c496360d7495b5e6fe8747c4c36'
+ '23ba61c4fb3ec173cd62452662c667ed0fab10cfe8ee576ce82598664f147896'
+ 'e7e4b811c55183580ee821b5dfab99f39917f3c0d284fa7cad9ac086ab4808ec')
package() {
cd "$pkgname-$pkgver"
python3 setup.py install --root="$pkgdir/"
+
+ install -Dm0644 "$srcdir"/errbot.service "$pkgdir"/usr/lib/systemd/system/errbot.service
+ install -Dm0600 -o jabber -g jabber \
+ "$srcdir"/errbot.config.py "$pkgdir"/etc/errbot/config.py
+ install -dm0700 -o jabber -g jabber \
+ "$pkgdir"/var/lib/errbot/{data,plugins}
}