Guest User

Untitled

a guest
Oct 9th, 2021
44
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Erhad Husovic <xdaemonx[at]protonmail[dot]ch>
  2.  
  3. _pkgname=blink-qt
  4. pkgname=blink
  5. pkgver=5.1.1
  6. pkgrel=1
  7. pkgdesc='Fully featured, easy to use SIP client with a Qt based UI'
  8. arch=('aarch64' 'x86_64')
  9. url='https://icanblink.com'
  10. license=('GPL-3+')
  11. depends=(
  12. 'icu'
  13. 'libvncserver'
  14. 'python-gevent'
  15. 'python-gmpy2'
  16. 'python-google-api-python-client'
  17. 'python-oauth2client'
  18. 'python-pyopenssl'
  19. 'python-pyqt5'
  20. 'python-service-identity'
  21. 'python3-sipsimple'
  22. 'qt5-svg'
  23. 'qt5-webkit'
  24. )
  25. optdepends=('x11vnc: for screen sharing')
  26. source=("https://github.com/AGProjects/${_pkgname}/archive/${pkgver}.tar.gz")
  27. sha512sums=('711bd3e544f60604b274ed08ba540649d5060f383265e5d957b1491ff14cac0aa06c1b520c31b9369a14736428b890bc10ec4b4537b0d4cf9f1d913be5234066')
  28.  
  29. build() {
  30. cd "${srcdir}/${_pkgname}-${pkgver}"
  31. python3 setup.py build
  32. }
  33.  
  34. package() {
  35. cd "${srcdir}/${_pkgname}-${pkgver}"
  36. python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
  37.  
  38. # license
  39. install -Dm644 LICENSE \
  40. "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  41.  
  42. # desktop file
  43. install -Dm644 "debian/${pkgname}.desktop" \
  44. "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  45. }
RAW Paste Data