db-move: moved xdg-desktop-portal-gnome from [testing] to [extra] (x86_64)
[arch-packages.git] / libmpc / repos / core-x86_64 / PKGBUILD
blob4df52bb0bbf9e9f2693174eea325a48ba557a9eb
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
4 pkgname=libmpc
5 pkgver=1.3.1
6 pkgrel=1
7 pkgdesc='Library for the arithmetic of complex numbers with arbitrarily high precision'
8 arch=(x86_64)
9 url='http://www.multiprecision.org/'
10 license=(LGPL)
11 depends=(mpfr)
12 source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig})
13 sha256sums=('ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8'
14             'SKIP')
15 validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3')  # Andreas Enge
17 build() {
18   cd mpc-$pkgver
19   ./configure --prefix=/usr
20   make
23 check() {
24   cd mpc-$pkgver
25   make check
28 package() {
29   cd mpc-$pkgver
30   make DESTDIR="$pkgdir" install
31   mv "$pkgdir"/usr/share/info/{mpc,libmpc}.info