mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:37:14 +08:00
32 lines
719 B
Bash
32 lines
719 B
Bash
pkgname=libmpc
|
|
pkgver=1.0.3
|
|
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')
|
|
install=libmpc.install
|
|
source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz{,.sig})
|
|
md5sums=('d6a1d5f8ddea3abd2cc3e98f58352d26'
|
|
'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
|
|
}
|