summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97393284e13786902ccebf7a6d90b0ad83a53b2d (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
# Maintainer Maxime “pep” Buquet <archlinux@bouah.net>

pkgname=python-slixmpp-omemo-git
_pkgbase=slixmpp-omemo
pkgver=r126.4da2bf0
pkgrel=1
pkgdesc="Slixmpp OMEMO plugin"
arch=(any)
url="https://lab.louiz.org/poezio/slixmpp-omemo"
license=('GPL3')
depends=(
  'python>=3.5'
  'python-slixmpp'
  'python-omemo-syndace'
  'python-setuptools')
provides=('python-slixmpp-omemo')
conflicts=('python-slixmpp-omemo')
makedepends=('git' 'python-setuptools')

source=("${_pkgbase}::git+https://lab.louiz.org/poezio/slixmpp-omemo.git")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/$_pkgbase"
    echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

package() {
    cd "$srcdir/$_pkgbase"
    python setup.py install --root="$pkgdir/" --optimize=1
}