pkgs/mpfr/PKGBUILD

30 lines
561 B
Bash

# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=mpfr
pkgver=4.2.1
pkgrel=1
pkgdesc="Multiple-precision floating-point library"
arch=("x86_64")
url="https://www.mpfr.org/"
license=(
GPL-3.0-or-later
LGPL-3.0-or-later
)
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz")
sha256sums=('277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2')
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--enable-thread-safe \
--enable-shared
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}