#!/bin/mkpkg
# description: C library for multiple-precision floating-point computations with correct rounding
# url: https://www.mpfr.org/

name=mpfr
version=4.2.2
release=1
depends=(gmp)
source=(
    https://www.mpfr.org/mpfr-$version/mpfr-$version.tar.xz
)

sha256sums=(
    "b67ba0383ef7e8a8563734e2e889ef5ec3c3b898a01d00fa0a6869ad81c6ce01"
)

build() {
    cd mpfr-$version

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

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

signify() {
    untrusted comment: *** OpenTUX *** public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh
