jobcore/libmpc/PKGBUILD-arch

32 lines
732 B
Plaintext

# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=libmpc
pkgver=1.2.1
pkgrel=2
pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
arch=('x86_64')
url="http://www.multiprecision.org/"
license=('LGPL')
depends=('mpfr')
source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig})
md5sums=('9f16c976c25bb0f76b50be749cd7a3a8'
'SKIP')
validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3') # Andreas Enge
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
}