diff options
author | Lorenz Steinert | 2020-06-09 16:08:15 +0200 |
---|---|---|
committer | Lorenz Steinert | 2020-06-09 16:08:15 +0200 |
commit | 3742735bcde0ee1ed22ce0e64d372580058dee3d (patch) | |
tree | cc10ebee305ed0c0e134315b0ae7ee5850b9cf6b | |
download | aur-3742735bcde0ee1ed22ce0e64d372580058dee3d.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2504c4679103 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-matrix-synapse-shared-secret-auth + pkgdesc = Shared Secret Authenticator password provider module for Matrix Synapse + pkgver = 1.0.2 + pkgrel = 0 + url = https://github.com/devture/matrix-synapse-shared-secret-auth + arch = x86_64 + license = AGPL + makedepends = python-setuptools + depends = python + depends = python-twisted + source = https://github.com/devture/matrix-synapse-shared-secret-auth/archive/1.0.2.tar.gz + sha256sums = ebbd3bb6dea556c6cd1021fe67a3f9e852158e068660c62ca0381fa633b93e95 + +pkgname = python-matrix-synapse-shared-secret-auth + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..179f235bb9c0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Lorenz Steinert <lsteinert@uraziel.de> + +pkgname=python-matrix-synapse-shared-secret-auth +_name=${pkgname#python-} +pkgver=1.0.2 +pkgrel=0 +pkgdesc="Shared Secret Authenticator password provider module for Matrix Synapse" +url="https://github.com/devture/matrix-synapse-shared-secret-auth" +arch=('x86_64') +license=('AGPL') +makedepends=('python-setuptools') +depends=('python' 'python-twisted') +source=("https://github.com/devture/${_name}/archive/${pkgver}.tar.gz") +sha256sums=("ebbd3bb6dea556c6cd1021fe67a3f9e852158e068660c62ca0381fa633b93e95") + +build() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py install --root=${pkgdir} --optimize=1 --skip-build +} |