pkgs/mpfr/PKGBUILD

29 lines
577 B
Text
Raw Permalink Normal View History

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