blob: fb76c92839c599a490376c2fc80ad8559ba2bb04 (
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
|
# $Id: PKGBUILD 204788 2014-01-27 08:27:19Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=libmpc
pkgver=1.0.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')
install=libmpc.install
source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz{,.sig})
md5sums=('68fadff3358fb3e7976c7a398a0af4c3'
'SKIP')
build() {
cd "${srcdir}/mpc-${pkgver}"
./configure --prefix=/usr
make
}
check() {
cd "${srcdir}/mpc-${pkgver}"
make check
}
package() {
cd "${srcdir}/mpc-${pkgver}"
make DESTDIR="${pkgdir}" install
mv ${pkgdir}/usr/share/info/{mpc,libmpc}.info
}
|