# Maintainer: Natanael Copa pkgname=gsl pkgver=2.7.1 pkgrel=1 pkgdesc="Modern numerical library for C and C++ programmers" options="!check" # x86 and aarch64 fail the testsuite url="https://www.gnu.org/software/gsl/gsl.html" arch="all" license="GPL-3.0-or-later" subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz" prepare() { default_prepare update_config_guess update_config_sub } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" 3300a748b63b583374701d5ae2a9db7349d0de51061a9f98e7c145b2f7de9710b3ad58b3318d0be2a9a287ace4cc5735bb9348cdf48075b98c1f6cc1029df131 gsl-2.7.1.tar.gz "