summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88a51561f350a5bf7bd0d30aeac25559ecf9a744 (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
# Maintainer: Maxime "pep" Buquet <archlinux@bouah.net>

_tagname=v0.7.0
pkgname=poezio-omemo
_pkgname=${pkgname}
pkgrel=1
pkgver=${_tagname}
pkgdesc="OMEMO plugin for the Poezio XMPP console client"
arch=('i686' 'x86_64')
url="https://code.bouah.net/pep/poezio-omemo"
conflicts=('poezio-omemo')
provides=('poezio-omemo')
license=('GPL')
depends=(
  'python'
  'python-setuptools'
  'poezio-git'
  'python-slixmpp-omemo'
  'python-omemo-backend-signal'
)
makedepends=('git')

source=("${_pkgname}::git+https://code.bouah.net/pep/poezio-omemo#tag=${_tagname}")

build() {
  cd "$srcdir/$_pkgname"
  python3 setup.py build
}

package() {
  cd "$srcdir/$_pkgname"
  python3 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
}

sha256sums=('SKIP')