archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gmp / trunk / PKGBUILD
blobc925cd26d2fb379215d7b159ed162c601561c8c7
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
18 build() {
19   cd $pkgname-$pkgver
21   ./configure --build=${CHOST} \
22     --prefix=/usr \
23     --enable-cxx \
24     --enable-fat
25   make
28 check() {
29   cd $pkgname-$pkgver
30   make check
33 package() {
34   cd $pkgname-$pkgver
35   make DESTDIR="${pkgdir}" install