[arch-commits] Commit in lib32-gmp/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Jan 6 09:30:36 UTC 2021
Date: Wednesday, January 6, 2021 @ 09:30:35
Author: arojas
Revision: 810546
archrelease: copy trunk to multilib-x86_64
Added:
lib32-gmp/repos/multilib-x86_64/PKGBUILD
(from rev 810545, lib32-gmp/trunk/PKGBUILD)
Deleted:
lib32-gmp/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-06 09:30:20 UTC (rev 810545)
+++ PKGBUILD 2021-01-06 09:30:35 UTC (rev 810546)
@@ -1,49 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: josephgbr <rafael.f.f1 at gmail.com>
-
-_pkgbasename=gmp
-pkgname=lib32-$_pkgbasename
-pkgver=6.2.0
-pkgrel=1
-pkgdesc="A free library for arbitrary precision arithmetic (32-bit)"
-arch=('x86_64')
-url="https://gmplib.org/"
-depends=('lib32-gcc-libs' $_pkgbasename)
-makedepends=(gcc-multilib)
-license=('LGPL3' 'GPL')
-source=(https://gmplib.org/download/gmp/gmp-${pkgver}.tar.xz{,.sig})
-sha512sums=('a066f0456f0314a1359f553c49fc2587e484ff8ac390ff88537266a146ea373f97a1c0ba24608bf6756f4eab11c9056f103c8deb99e5b57741b4f7f0ec44b90c'
- 'SKIP')
-validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller
-
-build() {
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- cd "${_pkgbasename}-${pkgver}"
-
- export ABI=32
- ./configure \
- --prefix=/usr --infodir=/usr/share/info \
- --enable-fat --enable-cxx --libdir=/usr/lib32 \
- --includedir=/usr/lib32/gmp
-
- #Put gmp.h in the same folder as gmpxx.h
- sed -i 's/$(exec_prefix)\/include/$\(includedir\)/' Makefile
-
- make
-}
-
-check() {
- cd "${_pkgbasename}-${pkgver}"
- make check
-}
-
-package() {
- cd "${_pkgbasename}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- rm -rf "${pkgdir}"/usr/{include,share,bin}
-}
Copied: lib32-gmp/repos/multilib-x86_64/PKGBUILD (from rev 810545, lib32-gmp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-06 09:30:35 UTC (rev 810546)
@@ -0,0 +1,49 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+
+_pkgbasename=gmp
+pkgname=lib32-$_pkgbasename
+pkgver=6.2.1
+pkgrel=1
+pkgdesc="A free library for arbitrary precision arithmetic (32-bit)"
+arch=('x86_64')
+url="https://gmplib.org/"
+depends=('lib32-gcc-libs' $_pkgbasename)
+makedepends=(gcc-multilib)
+license=('LGPL3' 'GPL')
+source=(https://gmplib.org/download/gmp/gmp-${pkgver}.tar.xz{,.sig})
+sha512sums=('c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84'
+ 'SKIP')
+validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${_pkgbasename}-${pkgver}"
+
+ export ABI=32
+ ./configure \
+ --prefix=/usr --infodir=/usr/share/info \
+ --enable-fat --enable-cxx --libdir=/usr/lib32 \
+ --includedir=/usr/lib32/gmp
+
+ #Put gmp.h in the same folder as gmpxx.h
+ sed -i 's/$(exec_prefix)\/include/$\(includedir\)/' Makefile
+
+ make
+}
+
+check() {
+ cd "${_pkgbasename}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${_pkgbasename}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+}
More information about the arch-commits
mailing list