mpfr 4.2.1-1

This commit is contained in:
xhaa123 2024-09-07 23:18:11 +08:00
parent 32096f3a38
commit 0ae3f7a11b

35
mpfr/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
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')
depends=('glibc' 'gmp')
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} \
--disable-static \
--enable-thread-safe \
--docdir=/usr/share/doc/${pkgname}-${pkgver}
make
make html
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
make DESTDIR=${pkgdir} install-html
}