pkgname=mpc pkgver=1.3.1 pkgrel=1 pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision" arch=('x86_64') url="https://www.multiprecision.org/" license=('LGPL-3.0-only') depends=('glibc' 'gmp' 'mpfr') source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) sha256sums=(ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static --docdir=/usr/share/doc/${pkgname}-${pkgver} ${configure_options} ) ./configure ${configure_args[@]} make make html } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install make DESTDIR=${pkgdir} install-html }