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.

32 lines
1.0 KiB

  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. pkgname=metashape
  3. pkgver=1.5.2
  4. ver=1_5_2
  5. pkgrel=1
  6. architecture=_amd64
  7. pkgdesc='Build professional quality textured 3D models from still images (trial version).'
  8. arch=('x86_64')
  9. url='http://www.agisoft.com/'
  10. license=('custom: "commercial"')
  11. depends=("libpng12")
  12. install=${pkgname}.install
  13. source=(
  14. "http://download.agisoft.com/${pkgname}_${ver}$_$architecture.tar.gz"
  15. "${pkgname}.runtime"
  16. "${pkgname}.png"
  17. "${pkgname}.desktop"
  18. )
  19. md5sums=('cf0a08ea66825b894873aff440eedfd7'
  20. '19dcbf9bdcef22ec63349ffafbad1245'
  21. '9ffa07f3059edce837d43de8c2a50e1b'
  22. '22918632e8683049cd06e6d70b7e2ff8')
  23. package(){
  24. cd "${srcdir}/$_pkgname"
  25. install -dm755 ${pkgdir}/opt/
  26. cp -r ${srcdir}/${pkgname} ${pkgdir}/opt/${pkgname}
  27. install -Dm755 ${srcdir}/${pkgname}.runtime ${pkgdir}/usr/bin/${pkgname}
  28. install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  29. install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
  30. }