blob: 75c77afb4cbc208b8f611a45043dff7b86ebb96d (
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
27
28
|
# Maintainer: Kimiblock Moe
pkgname=synapse-http-antispam
pkgdesc="A Synapse module that forwards spam checking to an HTTP server."
url="https://github.com/maunium/synapse-http-antispam"
license=(MIT)
arch=(any)
pkgver=0.5.0
pkgrel=1
makedepends=(python-build python-installer python-wheel git python-hatchling)
depends=(python python-twisted matrix-synapse)
source=(
"git+https://github.com/maunium/synapse-http-antispam.git#tag=v${pkgver}"
)
#function prepare() {}
function build() {
cd "${srcdir}/${pkgname}"
python -m build --wheel --no-isolation
}
function package() {
cd "${srcdir}/${pkgname}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
sha256sums=('9b02b1bdf8d28be1bbd823b654269a5647e8e407292b310a693e7733d85059b1')
|