summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Mogas da Silva2017-10-24 22:11:05 +0100
committerCarlos Mogas da Silva2017-10-24 22:11:05 +0100
commit0c4619ffb6f2831660fb329147c95da0a7532070 (patch)
treec5023352f30531b7e7fe82ff5f157c6b5d9df8e6
parentd6499c26ab9dd74461140e7984aa31a5a6e186f6 (diff)
downloadaur-0c4619ffb6f2831660fb329147c95da0a7532070.tar.gz
Don't install into synapse folder to match the upstream README
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f2ad3c7260..d6365238556 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = matrix-synapse-rest-auth
pkgdesc = REST endpoint Authentication module for synapse
pkgver = 0.1.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/kamax-io/matrix-synapse-rest-auth
arch = any
license = AGPL3
diff --git a/PKGBUILD b/PKGBUILD
index b87d8e50b88..985418bb77c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=matrix-synapse-rest-auth
pkgver=0.1.1
-pkgrel=1
+pkgrel=2
pkgdesc='REST endpoint Authentication module for synapse'
arch=('any')
url='https://github.com/kamax-io/matrix-synapse-rest-auth'
@@ -17,6 +17,6 @@ package() {
PYTHON_LOCATION=$(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
# File
- install -dm 755 "${pkgdir}"/${PYTHON_LOCATION}/synapse
- install -m 644 rest_auth_provider.py "${pkgdir}"/${PYTHON_LOCATION}/synapse/rest_auth_provider.py
+ install -dm 755 "${pkgdir}"/${PYTHON_LOCATION}
+ install -m 644 rest_auth_provider.py "${pkgdir}"/${PYTHON_LOCATION}/rest_auth_provider.py
}