1 # $Id: PKGBUILD 72637 2010-03-19 02:59:39Z allan $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 # Contributor: damir <damir@archlinux.org>
4 # Contributor: mupuf <martin.peres@ensi-bourges.fr>
9 pkgdesc="Multiple-precision floating-point library (shared object only)"
10 arch=('i686' 'x86_64')
12 url="http://www.mpfr.org/"
16 source=(http://www.mpfr.org/mpfr-2.4.2/mpfr-${pkgver}.tar.bz2)
17 md5sums=('89e59fe665e2b3ad44a6789f40b059a0')
20 cd "${srcdir}/mpfr-${pkgver}"
21 ./configure --prefix=/usr --enable-thread-safe --enable-shared || return 1
23 #make check || return 1
24 make DESTDIR="${pkgdir}" install || return 1
26 rm "${pkgdir}/usr/share" -r
27 rm "${pkgdir}/usr/include" -r
28 rm "${pkgdir}/usr/lib/libmpfr.a"
29 rm "${pkgdir}/usr/lib/libmpfr.so"