blob: 9aad7615582a5a1d5f8674269be821aac5cafb39 (
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
|
# $Id: PKGBUILD 82441 2010-06-11 06:42:48Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=libmpc
pkgver=0.8.2
pkgrel=2
pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
arch=('i686' 'x86_64')
url="http://www.multiprecision.org"
license=('LGPL')
depends=('mpfr>=3.0.0')
options=('!libtool')
install=libmpc.install
source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz)
md5sums=('e98267ebd5648a39f881d66797122fb6')
build() {
cd $srcdir/mpc-$pkgver
./configure --prefix=/usr
make
make check
}
package() {
cd $srcdir/mpc-$pkgver
make DESTDIR=$pkgdir/ install
mv -f $pkgdir/usr/share/info/{mpc,libmpc}.info
}
|