From c6e85739fd562095fe808351a1f7ac239e10ca19 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 6 Jul 2020 04:19:33 +0000 Subject: gmp: update to 6.2.0 --- abs/core/gmp/PKGBUILD | 38 ++++++++++++++++++-------------------- abs/core/gmp/gmp.install | 20 -------------------- 2 files changed, 18 insertions(+), 40 deletions(-) delete mode 100644 abs/core/gmp/gmp.install diff --git a/abs/core/gmp/PKGBUILD b/abs/core/gmp/PKGBUILD index d0490e5..2b72112 100644 --- a/abs/core/gmp/PKGBUILD +++ b/abs/core/gmp/PKGBUILD @@ -1,37 +1,35 @@ -# $Id: PKGBUILD 158748 2012-05-09 01:14:08Z allan $ # Maintainer: Allan McRae -# Maintainer: Jan de Groot +# Contributer: Jan de Groot pkgname=gmp -pkgver=5.0.5 +pkgver=6.2.0 pkgrel=1 -pkgdesc="A free library for arbitrary precision arithmetic" -arch=('i686' 'x86_64') -url="http://gmplib.org/" -depends=('gcc-libs' 'sh') -license=('LGPL3') -options=(!libtool) -install=gmp.install -source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.xz{,.sig}) -md5sums=('8aef50959acec2a1ad41d144ffe0f3b5' - '406e8878aadc51b134d1b3dd845261ee') +pkgdesc='A free library for arbitrary precision arithmetic' +arch=(x86_64) +url='https://gmplib.org/' +depends=(gcc-libs sh) +license=(LGPL3 GPL) +source=(https://gmplib.org/download/gmp/gmp-$pkgver.tar.lz{,.sig}) +md5sums=('e3e08ac185842a882204ba3c37985127' + 'SKIP') +validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - [ "${CARCH}" = "i686" ] && export ABI="32" + cd $pkgname-$pkgver + ./configure --build=${CHOST} \ - --prefix=/usr --infodir=/usr/share/info \ - --enable-cxx + --prefix=/usr \ + --enable-cxx \ + --enable-fat make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver make check } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver make DESTDIR="${pkgdir}" install } diff --git a/abs/core/gmp/gmp.install b/abs/core/gmp/gmp.install deleted file mode 100644 index cad3354..0000000 --- a/abs/core/gmp/gmp.install +++ /dev/null @@ -1,20 +0,0 @@ -info_dir=usr/share/info -info_files=(gmp.info gmp.info-1 gmp.info-2) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for f in ${info_files[@]}; do - install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for f in ${info_files[@]}; do - install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} -- cgit v0.12