blob: d70f651a7fe3a1abb731332acd7e288988606a60 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Mark Collins <tera_1225 hat hotmail.com>
pkgname=matrix-commander
pkgver=8.0.4
pkgrel=2
pkgdesc="Simple CLI-based Matrix client"
arch=('any')
url="https://github.com/8go/matrix-commander"
license=('GPL-3.0-or-later')
makedepends=(
"python-build"
"python-installer"
"python-wheel"
)
depends=(
"bash"
"python"
"python-aiohttp"
"python-async-timeout"
"python-aiofiles"
"python-emoji"
"python-markdown"
"python-matrix-nio" # AUR
"python-pillow"
"python-setuptools"
"python-magic"
"python-pyxdg"
"python-atomicwrites"
"python-cachetools"
"python-olm"
"python-peewee"
)
optdepends=(
"python-notify2: needed for notifications on desktop systems"
)
provides=()
conflicts=()
source=("${pkgname}-${pkgver}::https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname/-/_}-${pkgver}.tar.gz")
sha256sums=('464f7a4e3a632f5f13f831b882484d91552e3868292a63b9671cc1562f513fef')
build() {
cd "${srcdir}/${pkgname/-/_}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname/-/_}-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|