Guest User

PKGBUILD for Beebeep

a guest
Jul 18th, 2019
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Mantainer: Kevin Puertas <kevinpr at jkanetwork dot com>
  2. # Thanks to ssysmso for the updated PKGBUILD
  3. # Old Maintainer: Christoph Korn <christoph.korn at posteo dot de>
  4. pkgname=beebeep
  5. _pkgver=r1160
  6. pkgver=5.6.4
  7. pkgrel=1
  8. pkgdesc="Secure LAN Messenger"
  9. arch=('i686' 'x86_64')
  10. url="https://sourceforge.net/projects/beebeep/"
  11. license=('GPL3')
  12. depends=('qt5-base' 'qt5-multimedia' 'libxcb' 'avahi')
  13. makedepends=('qt5-base' 'qt5-multimedia' 'libxcb' 'avahi')
  14.  
  15. source=("http://netcologne.dl.sourceforge.net/project/${pkgname}/Sources/${pkgname}-code-${pkgver}.zip"
  16. "${pkgname}.xpm"
  17. "${pkgname}.desktop"
  18. "${pkgname}_script")
  19. md5sums=('49260c025823e789e7c5eeb6c1d911b6'
  20. '08e15ed0d7e938c863e5437984e9c597'
  21. 'e89c5abe353abcbbbb2b9ae9be3e46bc'
  22. 'a282005b0f8ee2dffc42704612ad95fe')
  23.  
  24. prepare() {
  25. cd beebeep-code-${_pkgver}
  26. }
  27.  
  28. build() {
  29. cd beebeep-code-${_pkgver}
  30. cd src && qmake-qt5
  31. cd ../plugins && qmake-qt5
  32. cd .. && qmake-qt5
  33. make
  34. }
  35.  
  36. package(){
  37. install -Dm755 "${srcdir}/beebeep-code-${_pkgver}/test/${pkgname}" "${pkgdir}/usr/lib/${pkgname}/${pkgname}"
  38. mkdir -p "${pkgdir}/usr/lib/${pkgname}"
  39. cp -a ${srcdir}/beebeep-code-${_pkgver}/test/lib*.so.* ${pkgdir}/usr/lib/${pkgname}/
  40.  
  41. install -Dm755 "${srcdir}/${pkgname}_script" "${pkgdir}/usr/bin/${pkgname}"
  42. install -Dm644 "${srcdir}/${pkgname}.xpm" "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm"
  43. install -Dm755 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  44. }
RAW Paste Data