summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 60fa2be87af96ddd17603ba4a51025343ac9599d (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Maintainer: Erhad Husovic <xdaemonx[at]protonmail[dot]ch>
# Maintainer: Jose Lopes <josemslopes at gmail dot com>

_pkgname=blink-qt
pkgname=blink
pkgver=5.6.0
pkgrel=2
pkgdesc='Fully featured, easy to use SIP client with a Qt based UI'
arch=('aarch64' 'x86_64')
url='https://icanblink.com'
license=('GPL-3+')
makedepends=(
  'cython0'
  'python-build'
  'python-installer'
  'python-wheel'
  )
depends=(
  'icu'
  'libvncserver'
  'python-application'
  'python-eventlib'
  'python-formencode'
  'python-gevent'
  'python-gmpy2'
  'python-google-api-python-client'
  'python-lxml'
  'python-lxml-html-clean'
  'python-oauth2client'
  'python-pgpy'
  'python-pyopenssl'
#  'python-pyqt5' currently python-pyqt5-webkit provides python-pyqt5
  'python-pyqt5-webkit'
  'python-requests'
  'python-service-identity'
  'python-sipsimple'
  'python-sqlobject'
  'python-twisted'
  'python-zope-interface'
  'qt5-svg'
  'qt5-webkit'
  )
optdepends=('x11vnc: for screen sharing')
source=("$pkgname-$pkgver.tar.gz::https://github.com/AGProjects/${_pkgname}/archive/${pkgver}.tar.gz")
b2sums=(
	'492bb3d0f5ffdae8e6c70886c560e92becd8ee506bb98960f213b9605ed14e2df4ccff53a961a4f289c36567979a839b91097e6da6d3784f5f23990a3af9debd'
)

build() {
  cd $_pkgname-$pkgver
  python -m build --wheel --no-isolation
}

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

  # license
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

  # desktop file
  install -Dm644 "debian/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}