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.

38 lines
1.3 KiB

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