[arch-commits] Commit in (6 files)

Maxime Gauduin alucryd at archlinux.org
Sat Oct 1 18:48:19 UTC 2016


    Date: Saturday, October 1, 2016 @ 18:48:18
  Author: alucryd
Revision: 191166

FS#51152 - Add libgcrypt11 and lib32-libgcrypt11

Added:
  lib32-libgcrypt11/
  lib32-libgcrypt11/trunk/
  lib32-libgcrypt11/trunk/PKGBUILD
  libgcrypt11/
  libgcrypt11/trunk/
  libgcrypt11/trunk/PKGBUILD

----------------------------------+
 lib32-libgcrypt11/trunk/PKGBUILD |   46 +++++++++++++++++++++++++++++++++++++
 libgcrypt11/trunk/PKGBUILD       |   35 ++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

Added: lib32-libgcrypt11/trunk/PKGBUILD
===================================================================
--- lib32-libgcrypt11/trunk/PKGBUILD	                        (rev 0)
+++ lib32-libgcrypt11/trunk/PKGBUILD	2016-10-01 18:48:18 UTC (rev 191166)
@@ -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')
+validgpgkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6')
+
+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:


Property changes on: lib32-libgcrypt11/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: libgcrypt11/trunk/PKGBUILD
===================================================================
--- libgcrypt11/trunk/PKGBUILD	                        (rev 0)
+++ libgcrypt11/trunk/PKGBUILD	2016-10-01 18:48:18 UTC (rev 191166)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libgcrypt11
+pkgver=1.5.6
+pkgrel=1
+pkgdesc='General purpose cryptographic library based on the code from GnuPG'
+arch=('i686' 'x86_64')
+url='http://www.gnupg.org'
+license=('LGPL')
+depends=('glibc' 'libgpg-error')
+source=("ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${pkgver}.tar.bz2"{,.sig})
+sha256sums=('301826b5e521c867056fd630aad6f0a60e176d18a017da6bc24b1695df3abe79'
+            'SKIP')
+validgpgkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6')
+
+build() {
+  cd libgcrypt-${pkgver}
+
+  ./configure \
+    --prefix='/usr' \
+    --disable-static \
+    --disable-padlock-support
+  make
+}
+
+package() {
+  cd libgcrypt-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/libgcrypt.so,share}
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: libgcrypt11/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list