Date: Tuesday, October 8, 2013 @ 15:19:17 Author: bluewind Revision: 98326
archrelease: copy trunk to multilib-x86_64 Added: lib32-gmp/repos/multilib-x86_64/PKGBUILD (from rev 98325, lib32-gmp/trunk/PKGBUILD) Deleted: lib32-gmp/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-10-08 13:19:12 UTC (rev 98325) +++ PKGBUILD 2013-10-08 13:19:17 UTC (rev 98326) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Florian Pritz <bluew...@xinu.at> -# Contributor: josephgbr <rafael.f...@gmail.com> - -_pkgbasename=gmp -pkgname=lib32-$_pkgbasename -pkgver=5.1.2 -pkgrel=1 -pkgdesc="A free library for arbitrary precision arithmetic (32-bit)" -arch=('x86_64') -url="http://gmplib.org/" -depends=('lib32-gcc-libs' $_pkgbasename) -makedepends=(gcc-multilib) -license=('LGPL3') -options=(!libtool) -source=(ftp://ftp.gmplib.org/pub/gmp-${pkgver}/gmp-${pkgver}.tar.xz{,.sig}) -md5sums=('06fe2ca164221c59ce74867155cfc1ac' - 'SKIP') - -build() { - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - cd "${srcdir}/${_pkgbasename}-${pkgver}" - - export ABI=32 - ./configure \ - --prefix=/usr --infodir=/usr/share/info \ - --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 "${srcdir}/${_pkgbasename}-${pkgver}" - make check -} - -package() { - cd "${srcdir}/${_pkgbasename}-${pkgver}" - make DESTDIR="${pkgdir}" install - - rm -rf "${pkgdir}"/usr/{include,share,bin} -} Copied: lib32-gmp/repos/multilib-x86_64/PKGBUILD (from rev 98325, lib32-gmp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-10-08 13:19:17 UTC (rev 98326) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Florian Pritz <bluew...@xinu.at> +# Contributor: josephgbr <rafael.f...@gmail.com> + +_pkgbasename=gmp +pkgname=lib32-$_pkgbasename +pkgver=5.1.3 +pkgrel=1 +pkgdesc="A free library for arbitrary precision arithmetic (32-bit)" +arch=('x86_64') +url="http://gmplib.org/" +depends=('lib32-gcc-libs' $_pkgbasename) +makedepends=(gcc-multilib) +license=('LGPL3') +options=(!libtool) +source=(ftp://ftp.gmplib.org/pub/gmp-${pkgver}/gmp-${pkgver}.tar.xz{,.sig}) +md5sums=('e5fe367801ff067b923d1e6a126448aa' + 'SKIP') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + + export ABI=32 + ./configure \ + --prefix=/usr --infodir=/usr/share/info \ + --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 "${srcdir}/${_pkgbasename}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}"/usr/{include,share,bin} +}