aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2023-11-05 21:29:06 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-05-09 08:00:57 +0000
commit7717b0eb82f77691c21d5263057a137f7b88cc5b (patch)
treebeaba491c76db13c14bed6818a3e8c4b3adcd59b
parent44d3a7d75b9b4fc1bb850eb3c7f904bb2d4f5797 (diff)
downloadvoid-packages-user/luca/heisenbridge-1.14.6.tar
void-packages-user/luca/heisenbridge-1.14.6.tar.gz
void-packages-user/luca/heisenbridge-1.14.6.tar.bz2
void-packages-user/luca/heisenbridge-1.14.6.tar.lz
void-packages-user/luca/heisenbridge-1.14.6.tar.xz
void-packages-user/luca/heisenbridge-1.14.6.tar.zst
void-packages-user/luca/heisenbridge-1.14.6.zip
New package: heisenbridge-1.14.6.user/luca/heisenbridge-1.14.6
-rw-r--r--srcpkgs/heisenbridge/files/heisenbridge/run5
-rw-r--r--srcpkgs/heisenbridge/template21
2 files changed, 26 insertions, 0 deletions
diff --git a/srcpkgs/heisenbridge/files/heisenbridge/run b/srcpkgs/heisenbridge/files/heisenbridge/run
new file mode 100644
index 00000000000..bb66faea149
--- /dev/null
+++ b/srcpkgs/heisenbridge/files/heisenbridge/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+
+exec chpst -u nobody:nogroup heisenbridge --config /etc/heisenbridge.yaml ${OPTS:="http://localhost:8008"}
diff --git a/srcpkgs/heisenbridge/template b/srcpkgs/heisenbridge/template
new file mode 100644
index 00000000000..b7601ee6553
--- /dev/null
+++ b/srcpkgs/heisenbridge/template
@@ -0,0 +1,21 @@
+# Template file for 'heisenbridge'
+pkgname=heisenbridge
+version=1.14.6
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-irc python3-ruamel.yaml python3-mautrix python3-socks python3-aiohttp"
+checkdepends="$depends python3-pytest"
+short_desc="Bouncer-style Matrix IRC bridge"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="MIT"
+homepage="https://github.com/hifi/heisenbridge"
+changelog="https://github.com/hifi/heisenbridge/releases"
+# distfiles="https://github.com/hifi/heisenbridge/releases/download/v$version/heisenbridge-$version.tar.gz"
+distfiles="https://github.com/hifi/heisenbridge/archive/refs/tags/v$version.tar.gz"
+checksum=0372a06055147f0402035897f6782bce9a24df0d290b8c054d24b33ba81d27da
+
+post_install() {
+ vsv heisenbridge
+ vlicense LICENSE
+}