summaryrefslogtreecommitdiffstats
path: root/heisenbridge
diff options
context:
space:
mode:
Diffstat (limited to 'heisenbridge')
-rw-r--r--heisenbridge/.SRCINFO9
-rw-r--r--heisenbridge/PKGBUILD20
2 files changed, 15 insertions, 14 deletions
diff --git a/heisenbridge/.SRCINFO b/heisenbridge/.SRCINFO
index 43b1d63..f615d22 100644
--- a/heisenbridge/.SRCINFO
+++ b/heisenbridge/.SRCINFO
@@ -1,6 +1,6 @@
1pkgbase = heisenbridge 1pkgbase = heisenbridge
2 pkgdesc = a bouncer-style Matrix IRC bridge 2 pkgdesc = a bouncer-style Matrix IRC bridge
3 pkgver = 1.13.1 3 pkgver = 1.14.0
4 pkgrel = 1 4 pkgrel = 1
5 url = https://github.com/hifi/heisenbridge 5 url = https://github.com/hifi/heisenbridge
6 install = heisenbridge.install 6 install = heisenbridge.install
@@ -12,14 +12,13 @@ pkgbase = heisenbridge
12 depends = python-irc 12 depends = python-irc
13 depends = python-ruamel-yaml 13 depends = python-ruamel-yaml
14 depends = python-aiohttp-socks 14 depends = python-aiohttp-socks
15 depends = python-mautrix>=0.14.0 15 depends = python-mautrix
16 depends = python-mautrix<0.17
17 backup = etc/heisenbridge/registration.yaml 16 backup = etc/heisenbridge/registration.yaml
18 source = heisenbridge-1.13.1.tar.gz::https://github.com/hifi/heisenbridge/archive/v1.13.1.tar.gz 17 source = heisenbridge-1.14.0.tar.gz::https://github.com/hifi/heisenbridge/archive/v1.14.0.tar.gz
19 source = heisenbridge.service 18 source = heisenbridge.service
20 source = heisenbridge.sysusers 19 source = heisenbridge.sysusers
21 source = heisenbridge.tmpfiles 20 source = heisenbridge.tmpfiles
22 sha256sums = 92e561db62eba63a31899d6f697eb292ca2273beaf195c13132dab5c4101873e 21 sha256sums = ba31d167982f022740abf1f785d32d959d9b35f64205d2f1e64d1d54e06f9b55
23 sha256sums = 67487b221bff329952f5c95186c4ea794c7e7a3e25e6d213075fd306c68cfa95 22 sha256sums = 67487b221bff329952f5c95186c4ea794c7e7a3e25e6d213075fd306c68cfa95
24 sha256sums = b3bc4328ead7afd186d5a191fabc347543c0fad17dc01047a4cf0532d999f255 23 sha256sums = b3bc4328ead7afd186d5a191fabc347543c0fad17dc01047a4cf0532d999f255
25 sha256sums = 24bd23e4427aaf635a91b170c07abe8a6b1c62cbad47e50a161c12807641d351 24 sha256sums = 24bd23e4427aaf635a91b170c07abe8a6b1c62cbad47e50a161c12807641d351
diff --git a/heisenbridge/PKGBUILD b/heisenbridge/PKGBUILD
index c1bd9cf..2183544 100644
--- a/heisenbridge/PKGBUILD
+++ b/heisenbridge/PKGBUILD
@@ -1,16 +1,18 @@
1# Maintainer: Bjoern Franke <bjo+aur@schafweide.org> 1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: Bjoern Franke <bjo+aur@schafweide.org>
3
2pkgname=heisenbridge 4pkgname=heisenbridge
3pkgver=1.13.1 5pkgver=1.14.0
4pkgrel=1 6pkgrel=1
5pkgdesc="a bouncer-style Matrix IRC bridge" 7pkgdesc="a bouncer-style Matrix IRC bridge"
6url="https://github.com/hifi/heisenbridge" 8url="https://github.com/hifi/heisenbridge"
7depends=('python' 'python-irc' 'python-ruamel-yaml' 'python-aiohttp-socks' 9depends=('python' 'python-irc' 'python-ruamel-yaml' 'python-aiohttp-socks'
8 'python-mautrix>=0.14.0' 'python-mautrix<0.17') 10 'python-mautrix')
9makedepends=('python-setuptools' 'python-pytest-runner') 11makedepends=('python-setuptools' 'python-pytest-runner')
10license=('MIT') 12license=('MIT')
11arch=('any') 13arch=('any')
12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" "${pkgname}.service" "${pkgname}.sysusers" "${pkgname}.tmpfiles") 14source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" "${pkgname}.service" "${pkgname}.sysusers" "${pkgname}.tmpfiles")
13sha256sums=('92e561db62eba63a31899d6f697eb292ca2273beaf195c13132dab5c4101873e' 15sha256sums=('ba31d167982f022740abf1f785d32d959d9b35f64205d2f1e64d1d54e06f9b55'
14 '67487b221bff329952f5c95186c4ea794c7e7a3e25e6d213075fd306c68cfa95' 16 '67487b221bff329952f5c95186c4ea794c7e7a3e25e6d213075fd306c68cfa95'
15 'b3bc4328ead7afd186d5a191fabc347543c0fad17dc01047a4cf0532d999f255' 17 'b3bc4328ead7afd186d5a191fabc347543c0fad17dc01047a4cf0532d999f255'
16 '24bd23e4427aaf635a91b170c07abe8a6b1c62cbad47e50a161c12807641d351') 18 '24bd23e4427aaf635a91b170c07abe8a6b1c62cbad47e50a161c12807641d351')
@@ -18,11 +20,11 @@ backup=("etc/${pkgname}/registration.yaml")
18install="${pkgname}.install" 20install="${pkgname}.install"
19_dirname="${pkgname}-${pkgver}" 21_dirname="${pkgname}-${pkgver}"
20 22
21
22prepare() { 23prepare() {
23 cd "${srcdir}/${_dirname}" 24 cd "${srcdir}/${_dirname}"
24 # create an empty registration file so that permissions get written properly from the get go 25 # create an empty registration file so that permissions get written
25 # this way secret keys are never world readable 26 # properly from the get go this way secret keys are never world
27 # readable
26 touch registration.yaml 28 touch registration.yaml
27} 29}
28 30
@@ -38,8 +40,8 @@ package() {
38 40
39 python setup.py install --optimize=1 --skip-build --root="${pkgdir}/" --prefix="/usr" --install-data="${_shared_dir}" 41 python setup.py install --optimize=1 --skip-build --root="${pkgdir}/" --prefix="/usr" --install-data="${_shared_dir}"
40 42
41 # it's a semi-common failure for python packages to install tests in the main dir 43 # it's a semi-common failure for python packages to install tests in
42 # which would make them conflict eachother 44 # the main dir which would make them conflict eachother
43 rm -rf "${pkgdir}$(python -c 'import site; print(site.getsitepackages()[0])')/tests" 45 rm -rf "${pkgdir}$(python -c 'import site; print(site.getsitepackages()[0])')/tests"
44 46
45 install -Dvm 644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" 47 install -Dvm 644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"