Guest User

Untitled

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