summaryrefslogtreecommitdiffstats
path: root/abs/core/mpfr/PKGBUILD
blob: 0f21bef153b6ec39db48a06beadecc2075aa11f6 (plain)
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
# $Id$
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=mpfr
pkgver=4.0.1
pkgrel=1
pkgdesc='Multiple-precision floating-point library'
arch=(x86_64)
url='http://www.mpfr.org/'
license=(LGPL)
depends=('gmp>=5.0')
source=(http://www.mpfr.org/mpfr-$pkgver/mpfr-${pkgver}.tar.xz{,.asc})
validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D')
sha256sums=('67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e'
            'SKIP')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --enable-thread-safe --enable-shared
  make
}

check() {
  cd $pkgname-$pkgver
  make check
  make check-exported-symbols
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}