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

Maxime Gauduin alucryd at archlinux.org
Sat Oct 1 22:22:06 UTC 2016


    Date: Saturday, October 1, 2016 @ 22:22:05
  Author: alucryd
Revision: 191180

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libgcrypt15/repos/
  lib32-libgcrypt15/repos/multilib-x86_64/
  lib32-libgcrypt15/repos/multilib-x86_64/PKGBUILD
    (from rev 191179, lib32-libgcrypt15/trunk/PKGBUILD)

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

Copied: lib32-libgcrypt15/repos/multilib-x86_64/PKGBUILD (from rev 191179, lib32-libgcrypt15/trunk/PKGBUILD)
===================================================================
--- repos/multilib-x86_64/PKGBUILD	                        (rev 0)
+++ repos/multilib-x86_64/PKGBUILD	2016-10-01 22:22:05 UTC (rev 191180)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Llewelyn Trahaearn <woefulderelict at gmail.com>
+# Contributor: TheWaffleGuy <gvxq at hotmail.com>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=lib32-libgcrypt15
+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')
+replaces=('lib32-libgcrypt11')
+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