Advertisement
vadonka

Untitled

Mar 17th, 2022
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. # Maintainer: lynix <lynix47@gmail.com>
  2.  
  3. pkgname=linphone-desktop-appimage
  4. pkgver=4.3.2
  5. pkgrel=1
  6. pkgdesc="A free VoIP and video softphone based on the SIP protocol (AppImage version)"
  7. arch=('x86_64')
  8. url='https://www.linphone.org'
  9. license=('GPL2')
  10. depends=('fuse2')
  11. provides=("linphone-desktop=${pkgver}")
  12. conflicts=('linphone-desktop-all' 'linphone-desktop-git' 'linphone-desktop-all-git' 'linphone-git')
  13. source=("https://download.linphone.org/releases/linux/app/Linphone-${pkgver}.AppImage"
  14. 'linphone.sh')
  15. sha256sums=('2c760bbba849792c85f35e46ed8066efc4a75c298421c03790532dfb3c73bd42'
  16. '1238a372faa4d6de8569b508c95ac39b7d21d3619660740b3ac4306642076bd2')
  17. options=(!strip)
  18. _image="$(basename "${source[0]}")"
  19.  
  20. prepare() {
  21. cd "${srcdir}"
  22. chmod +x "${_image}"
  23. ./"${_image}" --appimage-extract
  24. }
  25.  
  26. package() {
  27. install -Dm755 "${srcdir}/${_image}" "${pkgdir}/opt/appimages/linphone.AppImage"
  28. install -Dm755 "${srcdir}/linphone.sh" "${pkgdir}/usr/bin/linphone"
  29. install -dm755 "${pkgdir}/usr/share/"
  30. cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
  31. install -Dm644 "${srcdir}/squashfs-root/linphone.desktop" "${pkgdir}/usr/share/applications/linphone.desktop"
  32. }
  33.  
  34. # vim:set ts=2 sw=2 et:
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement