archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libmpc / trunk / PKGBUILD
blob7ea1a9e80d049fa8f68adb5b0f8a71c3f7a22391
1 # Maintainer: Allan McRae <allan@archlinux.org>
3 pkgname=libmpc
4 pkgver=1.2.1
5 pkgrel=2
6 pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
7 arch=('x86_64')
8 url="http://www.multiprecision.org/"
9 license=('LGPL')
10 depends=('mpfr')
11 source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig})
12 md5sums=('9f16c976c25bb0f76b50be749cd7a3a8'
13          'SKIP')
14 validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3')  # Andreas Enge
16 build() {
17   cd "${srcdir}/mpc-${pkgver}"
18   ./configure --prefix=/usr
19   make
22 check() {
23   cd "${srcdir}/mpc-${pkgver}"
24   make check
27 package() {
28   cd "${srcdir}/mpc-${pkgver}"
29   make DESTDIR="${pkgdir}" install
30   mv "${pkgdir}"/usr/share/info/{mpc,libmpc}.info