# Maintainer: Marian Buschsieweke pkgname=gajim pkgver=1.1.3 pkgrel=2 pkgdesc="A full featured and easy to use XMPP client" url="https://gajim.org/" arch="noarch" license="GPL-3.0-only" depends=" py3-cairo py3-gobject3 py3-asn1 py3-nbxmpp py3-openssl py3-precis-i18n py3-keyring py3-cssutils gtk+3.0 " makedepends="py3-setuptools python3-dev gettext-dev" checkdepends="xvfb dbus" source=" https://$pkgname.org/downloads/${pkgver:0:3}/$pkgname-$pkgver.tar.bz2 " subpackages="$pkgname-doc $pkgname-lang" build() { python3 setup.py build } check() { local xvfb_pid Xvfb :4242 & xvfb_pid=$! if env DISPLAY=:4242 python3 setup.py test; then kill $xvfb_pid return 0 else kill $xvfb_pid return 1 fi } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="18062832f9b9295c7a844c347d5ece4a6db43126d5b58bbf362fdf2f8e082e2241c46dae6d1cbe66ebf2ef19f65618102c3c21fa0079a96fc21511e6e93420ac gajim-1.1.3.tar.bz2"