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.

40 lines
1.2 KiB

  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. pkgname=metashape-pro
  3. _pkgname=metashapepro
  4. pkgver=1.5.2
  5. ver=1_5_2
  6. pkgrel=1
  7. architecture=_amd64
  8. pkgdesc='Generate high resolution georeferenced orthophotos and textured polygonal models (trial version).'
  9. arch=('x86_64')
  10. url='http://www.agisoft.com/'
  11. license=('custom: "commercial"')
  12. depends=("libpng12")
  13. install=${pkgname}.install
  14. source=(
  15. "http://download.agisoft.com/${pkgname}_${ver}$_$architecture.tar.gz"
  16. "${pkgname}.runtime"
  17. "${pkgname}.png"
  18. "${pkgname}.desktop"
  19. "qtfix.patch"
  20. )
  21. md5sums=('70085f24165e1c84496ae25236906ed7'
  22. 'bd53c52a6f3eedd86574ee5e32d1c1a8'
  23. '9ffa07f3059edce837d43de8c2a50e1b'
  24. '72403a878fd2f555ce5d3bef507740e6'
  25. '918a2cca7abaebec66c48ec97db0dea0')
  26. prepare(){
  27. cd "${srcdir}/${pkgname}"
  28. patch -Np1 -i $srcdir/qtfix.patch
  29. }
  30. package(){
  31. cd "${srcdir}/${pkgname}"
  32. install -dm755 ${pkgdir}/opt/
  33. cp -r ${srcdir}/${pkgname} ${pkgdir}/opt/${pkgname}
  34. install -Dm755 ${srcdir}/${pkgname}.runtime ${pkgdir}/usr/bin/${_pkgname}
  35. install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  36. install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
  37. }