# Maintainer: Andrew O'Neill # Contributor: quomoow # Contributor: Thomas Mudrunka pkgname=gretl pkgver=2024a pkgrel=1 pkgdesc='A cross-platform software package for econometric analysis, written in the C programming language' arch=('x86_64') url='http://gretl.sourceforge.net/' license=('GPL-3.0-only') options=('!makeflags') depends=('gtksourceview3' 'blas' 'curl' 'lapack' 'mpfr' 'fftw' 'gnuplot' 'gmp') optdepends=('readline: provides a nice editable command line in gretlcli' 'JSON-GLib: provides for parsing of data from various websites' 'openmpi: provides means for dividing labor among multiple nodes') source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz") sha256sums=('ea16b477f9fbe577f48593341911cb3a7336ef83f587631eac1ffc48759387ea') build() { cd "${pkgname}-${pkgver}" ./configure --prefix=/usr --disable-xdg-utils make } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }