archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gmp / trunk / PKGBUILD
blob1be523a39bbaeada0b4588e2932e725235285c34
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: Jan de Groot <jgc@archlinux.org>
5 pkgname=gmp
6 pkgver=6.2.1
7 pkgrel=2
8 pkgdesc='A free library for arbitrary precision arithmetic'
9 arch=(x86_64)
10 url='https://gmplib.org/'
11 depends=(gcc-libs sh)
12 license=(LGPL3 GPL)
13 source=(https://gmplib.org/download/gmp/gmp-$pkgver.tar.lz{,.sig})
14 sha256sums=('2c7f4f0d370801b2849c48c9ef3f59553b5f1d3791d070cffb04599f9fc67b41'
15             'SKIP')
16 validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298')   # Niels Möller
17 options=(debug)
19 build() {
20   cd $pkgname-$pkgver
22   ./configure --build=${CHOST} \
23     --prefix=/usr \
24     --enable-cxx \
25     --enable-fat
26   make
29 check() {
30   cd $pkgname-$pkgver
31   make check
34 package() {
35   cd $pkgname-$pkgver
36   make DESTDIR="${pkgdir}" install