summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c1829079d6237faa6adcf4ab2a91439c340b98de (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Maintainer: Ave Ozkal <aurpub@ave.zone>
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
# Contributor: Bjoern Franke <bjo at nord-west.org>
# Contributor: Lev Lybin <lev.lybin@gmail.com>
# Contributor: Benjamin Richter <br@waldteufel-online.net>
# Contributor: Changaco <changaco@changaco.net>
# Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
# Contributor: Michael Pusterhofer <pusterhofer [at] student [dot] tugraz [dot] at>

_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 "=========================================================================================="
}