# Maintainer: Ave Ozkal # Contributor: Emmanuel Gil Peyrot # Contributor: Bjoern Franke # Contributor: Lev Lybin # Contributor: Benjamin Richter # Contributor: Changaco # Contributor: Artyom Smirnov # Contributor: Michael Pusterhofer _name=gajimbo pkgname="$_name-git" pkgver=1.1.92.1.g5f0508c31 pkgrel=1 pkgdesc="A fork of Gajim with various enhancements, written in Python with GTK+" arch=('any') url="https://gitlab.com/a/gajimbo" license=('GPL3') depends=('python-gobject' 'python-pyopenssl' 'hicolor-icon-theme' 'python-pyasn1' 'python-nbxmpp-git' 'python-cairo' 'python-keyring' 'python-distro' 'python-precis_i18n' 'python-css-parser') makedepends=('git' 'python-setuptools') optdepends=('python-dbus: for gajim-remote and zeroconf support' 'farstream: for video/voice support' 'gst-plugins-good: for video/voice support' 'gst-plugins-bad: for video/voice support' 'gst-plugins-ugly: for video/voice support' 'gst-libav: for video/voice support' 'gst-python: for video/voice support' 'python-qrcode: support for QR code generation for OMEMO signature' 'gspell: for spell checking support' 'libxss: for idle time checking on X11' 'notification-daemon: for desktop notifications' 'gnome-keyring: store passwords encrypted in GNOME Keyring' 'kded: store passwords encrypted in KSecretService' 'python-crypto: support for E2E encryption' 'python-docutils: for RST generator support' 'gupnp-igd: for UPnP-IGD support' 'geoclue2: for sharing your location') provides=('gajim') conflicts=('gajim' 'gajim-hg' 'gajim-svn' 'gajim-git') source=("$_name::git+https://gitlab.com/a/gajimbo") md5sums=('SKIP') pkgver() { cd $_name # git rev-parse HEAD | cut -c1-10 git describe --long --tags | tr - . } package() { cd $_name python setup.py install --root="$pkgdir/" --optimize=1 echo "==========================================================================================" echo "IMPORTANT: To install all available plugins, run the following commands on your local user" echo "mkdir -p ~/.local/share/gajim/plugins" echo "git clone https://dev.gajim.org/gajim/gajim-plugins ~/.local/share/gajim/plugins" echo "==========================================================================================" }