summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1d5631fea3900cf2cf7e7ebec736a168b3f4865 (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
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

pkgname=slidgnal-git
pkgver=r4.a5d9afa
pkgrel=2
pkgdesc='Feature-rich Signal to XMPP puppeteering gateway, based on slidge'
arch=('x86_64' 'armv7h' 'aarch64')
url="https://git.sr.ht/~nicoco/slidgnal"
license=('AGPL3')
depends=('python' 'python-slidge' 'python-emoji' 'python-aiosignald')
makedepends=('git' 'python-build' 'python-wheel' 'python-installer' 'python-setuptools')
provides=('slidgnal')
conflicts=('slidgnal')
source=('git+https://git.sr.ht/~nicoco/slidgnal')
sha256sums=('SKIP')

pkgver() {
  cd slidgnal
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

build() {
  cd slidgnal
  python -m build --wheel --no-isolation
}

package() {
  cd slidgnal
  python -m installer --destdir="$pkgdir" dist/*.whl
}