# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=sirocco
pkgver=2.0
pkgrel=2
pkgdesc="C++ library that allows to compute piecewise linear approximations of the path followed by the root of a complex polynomial"
arch=(x86_64)
url="https://iuma.unizar.es/es/investigacion/software/sirocco"
license=(GPL3)
depends=(mpfr)
source=("https://iuma.unizar.es/sites/default/files/software/libsirocco-$pkgver.tar_.gz")
sha256sums=('9f4faf8dd1a7645e049e2dae20f4fe3f2c929f998aadd1a4c07c75678982645d')

build() {
  cd libsirocco-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd libsirocco-$pkgver
  make DESTDIR="$pkgdir" install
}

