28 lines
632 B
Text
28 lines
632 B
Text
|
# 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)
|
||
|
sha512sums=('bc68c0d755d5446403644833ecbb07e37360beca45f474297b5d5c40926df1efc3e2067eecffdf253f946288bcca39ca89b0613f545d46a9e767d1d4cf358475')
|
||
|
|
||
|
build() {
|
||
|
cd $pkgname-${pkgver}
|
||
|
./configure --prefix=/usr \
|
||
|
--enable-thread-safe \
|
||
|
--enable-shared
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname-${pkgver}
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
}
|