summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUncle Hunto2015-10-08 18:10:40 -0700
committerUncle Hunto2015-10-08 18:10:40 -0700
commitf919e8d16bab80d8404b088db00d184852bf432f (patch)
tree8e44b00416638dc8dabadcf10b32a4d6748d8b1e
parentad127ed8f045681eb699fa7f789550dbeb7ad162 (diff)
downloadaur-f919e8d16bab80d8404b088db00d184852bf432f.tar.gz
Downgraded to gmp4
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD16
2 files changed, 13 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5984ac26d20..29eb55154bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lib32-gmp4
pkgdesc = Legacy version of gmp. Provides libgmp.so.3 (32 bit)
- pkgver = 5.1.3
+ pkgver = 4.3.2
pkgrel = 1
url = http://gmplib.org/
arch = x86_64
@@ -10,8 +10,9 @@ pkgbase = lib32-gmp4
depends = sh
depends = lib32-gmp
options = !libtool
- source = ftp://ftp.gnu.org/gnu/gmp/gmp-5.1.3.tar.bz2
- md5sums = a082867cbca5e898371a97bb27b31fea
+ source = https://gmplib.org/download/gmp/gmp-4.3.2.tar.bz2
+ sha256sums = 936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775
+ sha512sums = 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf
pkgname = lib32-gmp4
diff --git a/PKGBUILD b/PKGBUILD
index 2f14c3fc6e4..377a2edcba7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
-# Maintainer: Sudowoodo <sudowoodoarch@gmail.com>
+# Maintainer: Uncle Hunto <unclehunto äτ ÝãΗ00 Ð0τ ÇÖΜ>
+# Contributor: Sudowoodo <sudowoodoarch@gmail.com>
# Contributor: Xemertix <arch88(at)katamail(dot)com>
pkgname=lib32-gmp4
-pkgver=5.1.3
+pkgver=4.3.2
pkgrel=1
pkgdesc="Legacy version of gmp. Provides libgmp.so.3 (32 bit)"
arch=('x86_64')
@@ -11,8 +12,9 @@ depends=('lib32-gcc-libs' 'sh' 'lib32-gmp')
makedepends=('gcc-multilib')
license=('LGPL3')
options=('!libtool')
-source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.bz2)
-md5sums=('a082867cbca5e898371a97bb27b31fea')
+source=(https://gmplib.org/download/gmp/gmp-${pkgver}.tar.bz2)
+sha256sums=('936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775')
+sha512sums=('2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf')
prepare(){
cd gmp-${pkgver}
@@ -25,8 +27,8 @@ build() {
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
- cd gmp-${pkgver}
+
+ cd gmp-${pkgver}
./configure --prefix=/usr --libdir=/usr/lib32 \
--includedir=/usr/lib32/gmp --enable-cxx
make
@@ -34,7 +36,7 @@ build() {
package() {
cd gmp-${pkgver}
-
+
make DESTDIR="${pkgdir}" install
#remove files that conflict with 'gmp' and 'lib32-gmp'
rm -rf "${pkgdir}"/usr/share