[arch-commits] Commit in lib32-libgcrypt11 (3 files)

Maxime Gauduin alucryd at archlinux.org
Sat Oct 1 18:53:10 UTC 2016


    Date: Saturday, October 1, 2016 @ 18:53:09
  Author: alucryd
Revision: 191170

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libgcrypt11/repos/
  lib32-libgcrypt11/repos/multilib-x86_64/
  lib32-libgcrypt11/repos/multilib-x86_64/PKGBUILD
    (from rev 191169, lib32-libgcrypt11/trunk/PKGBUILD)

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

Copied: lib32-libgcrypt11/repos/multilib-x86_64/PKGBUILD (from rev 191169, lib32-libgcrypt11/trunk/PKGBUILD)
===================================================================
--- repos/multilib-x86_64/PKGBUILD	                        (rev 0)
+++ repos/multilib-x86_64/PKGBUILD	2016-10-01 18:53:09 UTC (rev 191170)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=lib32-libgcrypt11
+pkgver=1.5.6
+pkgrel=1
+pkgdesc='General purpose cryptographic library based on the code from GnuPG'
+arch=('x86_64')
+url='http://www.gnupg.org'
+license=('LGPL')
+depends=('lib32-glibc' 'lib32-libgpg-error')
+source=("ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${pkgver}.tar.bz2"{,.sig})
+sha256sums=('301826b5e521c867056fd630aad6f0a60e176d18a017da6bc24b1695df3abe79'
+            'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+prepare() {
+  cd libgcrypt-${pkgver}
+
+  sed 's/path="amd64"/path="i586 i386"/' -i mpi/config.links
+}
+
+build() {
+  cd libgcrypt-${pkgver}
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --disable-static \
+    --disable-padlock-support
+  make
+}
+
+package() {
+  cd libgcrypt-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib32/libgcrypt.so,share}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list