1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Argyros Argyridis <arargyridis@gmail.com>
10 pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
12 url="http://www.orfeo-toolbox.org/otb/"
15 depends=('cmake' 'gdal' 'freeglut' 'itk' 'curl' 'fftw' 'mercurial')
17 optdepends=( 'fltk' 'fltk2')
18 provides=(orfeo-toolbox)
25 #source=($pkgname-$pkgver.tar.gz)
27 #md5sums=() #generate with 'makepkg -g'
32 msg "connecting to server..."
34 if [ ! -d "$srcdir/OTB" ]; then
35 hg clone http://hg.orfeo-toolbox.org/OTB
42 msg "checking done or server timeout occured"
44 msg "starting make..."
58 make DESTDIR="$pkgdir" install