summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-07-06 04:19:33 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-07-06 04:19:33 (GMT)
commitc6e85739fd562095fe808351a1f7ac239e10ca19 (patch)
tree8b40e0da80469ac3775ce0a40bee053f4db2e749 /abs/core
parent287c0aa90d0e2ddd5b76fb2aa0eaf870ea8c332d (diff)
downloadlinhes_pkgbuild-c6e85739fd562095fe808351a1f7ac239e10ca19.zip
linhes_pkgbuild-c6e85739fd562095fe808351a1f7ac239e10ca19.tar.gz
linhes_pkgbuild-c6e85739fd562095fe808351a1f7ac239e10ca19.tar.bz2
gmp: update to 6.2.0
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/gmp/PKGBUILD38
-rw-r--r--abs/core/gmp/gmp.install20
2 files changed, 18 insertions, 40 deletions
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 <allan@archlinux.org>
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributer: Jan de Groot <jgc@archlinux.org>
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
-}