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.

26 lines
1006 B

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