summaryrefslogtreecommitdiffstats
path: root/mpfr/MAKEPKG
blob: e75b53465424722ed4bcfd785d8f45144caada48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/mkpkg
# description: C library for multiple-precision floating-point computations with correct rounding
# url: https://www.mpfr.org/

name=mpfr
version=4.2.2
release=1
depends=(gmp)
source=(
    https://www.mpfr.org/mpfr-$version/mpfr-$version.tar.xz
)

sha256sums=(
    "b67ba0383ef7e8a8563734e2e889ef5ec3c3b898a01d00fa0a6869ad81c6ce01"
)

build() {
    cd mpfr-$version

	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install

    rm -r $PKG/usr/share
    rm -f $PKG/usr/lib/*.la
}

signify() {
    untrusted comment: *** OpenTUX *** public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh