[arch-commits] Commit in lib32-libgcrypt/repos (2 files)

Florian Pritz bluewind at archlinux.org
Fri Mar 13 21:30:37 UTC 2015


    Date: Friday, March 13, 2015 @ 22:30:37
  Author: bluewind
Revision: 129209

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-libgcrypt/repos/multilib-testing-x86_64/
  lib32-libgcrypt/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 129208, lib32-libgcrypt/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: lib32-libgcrypt/repos/multilib-testing-x86_64/PKGBUILD (from rev 129208, lib32-libgcrypt/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2015-03-13 21:30:37 UTC (rev 129209)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+_pkgbasename=libgcrypt
+pkgname=lib32-$_pkgbasename
+pkgver=1.6.3
+pkgrel=1
+pkgdesc="General purpose cryptographic library based on the code from GnuPG (32-bit)"
+arch=(x86_64)
+url="http://www.gnupg.org"
+license=('LGPL')
+depends=('lib32-libgpg-error>=1.10-2' $_pkgbasename)
+makedepends=(gcc-multilib libtool-multilib)
+source=(ftp://ftp.gnupg.org/gcrypt/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.bz2{,.sig})
+sha1sums=('9456e7b64db9df8360a1407a38c8c958da80bbf1'
+          'SKIP')
+validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06') # "NIIBE Yutaka (GnuPG Release Key) <gniibe at fsij.org>"
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd ${_pkgbasename}-${pkgver}
+
+  # Use 32-bit assembler
+  sed 's:path="amd64":path="i586 i386":' -i mpi/config.links
+
+  ./configure --prefix=/usr --disable-static --disable-padlock-support \
+              --libdir=/usr/lib32 --enable-shared
+  make
+}
+
+package() {
+  cd ${_pkgbasename}-${pkgver}
+
+  make DESTDIR=${pkgdir} install
+  rm -rf "${pkgdir}"/usr/{include,share,bin,sbin}
+}



More information about the arch-commits mailing list