pkgs/mpfr/PKGBUILD

31 lines
561 B
Text
Raw 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-05 04:47:04 +00:00
license=(
2023-12-08 02:05:38 +00:00
GPL-3.0-or-later
LGPL-3.0-or-later
2023-12-05 04:47:04 +00:00
)
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
}