blob: aafde896ebceda487e9e61b6bf5b10c2a34bed53 (
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
|
# Maintainer: Maxime “pep” Buquet <archlinux@bouah.net>
pkgname=python-slixmpp-omemo
_pkgbase=slixmpp-omemo
_tag=v0.6.0
pkgver=v0.6.0.r0.g9c547be
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/${_pkgbase}#tag=${_tag}")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgbase"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$_pkgbase"
python setup.py install --root="$pkgdir/" --optimize=1
}
|