diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:27:05 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:27:05 (GMT) |
commit | 9f3eafdf95237972c0ec30cf2977b1ae870c0946 (patch) | |
tree | d003ff9a2398f4524d76a8ea6d518971ffc98033 /abs | |
parent | de609ebb9e9dddfa52d5143a4a35eb0fb1c407f3 (diff) | |
download | linhes_pkgbuild-9f3eafdf95237972c0ec30cf2977b1ae870c0946.zip linhes_pkgbuild-9f3eafdf95237972c0ec30cf2977b1ae870c0946.tar.gz linhes_pkgbuild-9f3eafdf95237972c0ec30cf2977b1ae870c0946.tar.bz2 |
gmp 5.0.5
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/gmp/PKGBUILD | 30 | ||||
-rw-r--r-- | abs/core/gmp/gmp.install | 2 |
2 files changed, 21 insertions, 11 deletions
diff --git a/abs/core/gmp/PKGBUILD b/abs/core/gmp/PKGBUILD index 1a0d9c3..d0490e5 100644 --- a/abs/core/gmp/PKGBUILD +++ b/abs/core/gmp/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 72634 2010-03-19 02:57:15Z allan $ +# $Id: PKGBUILD 158748 2012-05-09 01:14:08Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=gmp -pkgver=5.0.1 -pkgrel=2 +pkgver=5.0.5 +pkgrel=1 pkgdesc="A free library for arbitrary precision arithmetic" arch=('i686' 'x86_64') url="http://gmplib.org/" @@ -12,16 +12,26 @@ depends=('gcc-libs' 'sh') license=('LGPL3') options=(!libtool) install=gmp.install -source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.bz2) -md5sums=('6bac6df75c192a13419dfd71d19240a7') +source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.xz{,.sig}) +md5sums=('8aef50959acec2a1ad41d144ffe0f3b5' + '406e8878aadc51b134d1b3dd845261ee') build() { cd "${srcdir}/${pkgname}-${pkgver}" + [ "${CARCH}" = "i686" ] && export ABI="32" - ./configure --build=$CHOST \ + ./configure --build=${CHOST} \ --prefix=/usr --infodir=/usr/share/info \ - --enable-cxx || return 1 - make || return 1 - make check || return 1 - make DESTDIR="${pkgdir}" install || return 1 + --enable-cxx + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/abs/core/gmp/gmp.install b/abs/core/gmp/gmp.install index 1c31ab3..cad3354 100644 --- a/abs/core/gmp/gmp.install +++ b/abs/core/gmp/gmp.install @@ -1,4 +1,4 @@ -info_dir=/usr/share/info +info_dir=usr/share/info info_files=(gmp.info gmp.info-1 gmp.info-2) post_install() { |