diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -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} } |