1 # Maintainer: leepesjee <lpeschier at xs4all dot nl>
5 pkgdesc="An ANSI C library for accessing Crystallographic Binary and Image-supporting Files"
7 url="http://www.bernstein-plus-sons.com/software/CBF/"
8 depends=('gcc-fortran')
10 source=(http://www.bernstein-plus-sons.com/software/CBFlib_$pkgver.tar.gz)
11 md5sums=('b4577df6352228e7fb7b8403520e29ed')
14 cd $srcdir/CBFlib_$pkgver
15 sed -i 's|F90C = gfortran|F90C = gfortran -fno-range-check|' ./Makefile
16 sed -i "s|INSTALLDIR = \$(HOME)|INSTALLDIR = ${pkgdir}/usr|" ./Makefile
19 # clean up the include folder
20 chmod 755 $pkgdir/usr/include/cbflib -v
21 rmdir $pkgdir/usr/include/cbflib_old -v