Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.3 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. # Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>
  3. # Contributor: Luigi Ranghetti <ggranga@gmail.com>
  4. pkgname=pano2vr
  5. pkgver=6.0.4a
  6. _pkgver2=`echo ${pkgver} | tr '.' '_'`
  7. pkgrel=1
  8. pkgdesc="Converts panoramic images into QuickTime VR or Macromedia Flash formats."
  9. url="http://gardengnomesoftware.com/pano2vr.php"
  10. license=('Pano2VR')
  11. arch=('x86_64')
  12. depends=('libgl' 'qt5-base')
  13. source=(
  14. "https://ggnome.com/download/${pkgname}/${pkgname}_linux64_${_pkgver2}.tar.gz"
  15. "changedir.patch"
  16. "pano2vr.desktop"
  17. )
  18. md5sums=('7684d9789f3d7cab725151da1ac1450c'
  19. '188ecfd8e33f19a244bb7ba0a71ec411'
  20. '55617407038824cbc0fbeb01bff2ea0c')
  21. prepare() {
  22. cd "${srcdir}"
  23. patch -p1 -i "${srcdir}/changedir.patch"
  24. }
  25. package() {
  26. install -d ${pkgdir}/opt/
  27. cp -r ${srcdir} ${pkgdir}/opt/
  28. mv ${pkgdir}/opt/src ${pkgdir}/opt/${pkgname}
  29. install -d ${pkgdir}/usr/local/bin/
  30. ln -s ${pkgdir}/opt/${pkgname}/${pkgname}.sh ${pkgdir}/usr/local/bin/${pkgname}
  31. install -d ${pkgdir}/usr/share/licenses/common/Pano2VR/
  32. install -m644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/common/Pano2VR/
  33. install -D -m644 ${srcdir}/${pkgname}_icon.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
  34. install -D -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
  35. }