blob: 2a935b0f35a137dcd6a3f4c9fc3b9c6219a0d344 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
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"
|