summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc0a89314f2905a1fde0dc3a9e04ab2eca449ceb (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
# Maintainer: Lorenz Steinert <lsteinert@uraziel.de>

pkgname=python-matrix-synapse-shared-secret-auth-git
_name=$( expr "${pkgname}" : "python-\(.*\)-git" )
provides=('python-matrix-synapse-shared-secret-auth')
conflicts=('python-matrix-synapse-shared-secret-auth')
pkgver=1.0.1
pkgrel=1
pkgdesc="Shared Secret Authenticator password provider module for Matrix Synapse"
url="https://github.com/devture/matrix-synapse-shared-secret-auth"
arch=('any')
license=('AGPL')
makedepends=('python-setuptools')
depends=('python' 'python-twisted')
source=("git+https://github.com/devture/${_name}.git")
sha256sums=(SKIP)

build() {
    cd "${srcdir}/${_name}"
    python setup.py build
}

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