1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Ronald van Haren <ronald.archlinux.org>
3 # Contributor: Juergen Hoetzel <juergen.archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
9 pkgdesc='The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers'
10 url='https://www.gnu.org/software/gsl/gsl.html'
11 source=(https://ftp.gnu.org/gnu/gsl/$pkgname-$pkgver.tar.gz{,.sig})
15 sha256sums=('dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b'
17 validpgpkeys=(DD61B7FC02790F978360F399245FB74BAE05B3E9) # Patrick Alken <alken@colorado.edu>
21 sed -e 's|cblas/libgslcblas.la||g' -i Makefile.* # Don't link binaries to libgslcblas
27 ./configure --prefix=/usr
38 make DESTDIR="$pkgdir" install
40 rm "$pkgdir"/usr/lib/libgslcblas.*
41 ln -s /usr/lib/libcblas.so "$pkgdir"/usr/lib/libgslcblas.so