#!/bin/mkpkg
# description: C library for the arithmetic of complex numbers
# url: http://www.multiprecision.org/

name=libmpc
version=1.3.1
release=1
depends=(gmp mpfr)
source=(
    https://ftpmirror.gnu.org/gnu/mpc/mpc-$version.tar.gz
)

sha256sums=(
    "ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8"
)

build() {
    cd mpc-$version

    ./configure --prefix=/usr
    make
    make DESTDIR=$PKG install

    rm -r $PKG/usr/share
    rm -f $PKG/usr/lib/*.la
}

# vim: filetype=sh
