git » mpfr.git » main » tree

[main] / PKGBUILD

pkgname=mpfr
pkgver=4.2.1
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz")
depends=(glibc)

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr        \
            --disable-static     \
            --enable-thread-safe \
            --docdir=/usr/share/doc/mpfr-4.2.1
	make
	make html
}

check() {
	cd "$pkgname-$pkgver"
	make check
	echo "==== MPFR TESTSUITE ===="
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install install-html
}
sha256sums=('277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2')