[arch-commits] Commit in (6 files)

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


    Date: Saturday, October 1, 2016 @ 22:21:20
  Author: alucryd
Revision: 191178

Rename libgcrypt11 to libgcrypt15

Added:
  lib32-libgcrypt15/
  lib32-libgcrypt15/trunk/
  lib32-libgcrypt15/trunk/PKGBUILD
  libgcrypt15/
  libgcrypt15/trunk/
  libgcrypt15/trunk/PKGBUILD

----------------------------------+
 lib32-libgcrypt15/trunk/PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++
 libgcrypt15/trunk/PKGBUILD       |   38 ++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

Added: lib32-libgcrypt15/trunk/PKGBUILD
===================================================================
--- lib32-libgcrypt15/trunk/PKGBUILD	                        (rev 0)
+++ lib32-libgcrypt15/trunk/PKGBUILD	2016-10-01 22:21:20 UTC (rev 191178)
@@ -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:


Property changes on: lib32-libgcrypt15/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: libgcrypt15/trunk/PKGBUILD
===================================================================
--- libgcrypt15/trunk/PKGBUILD	                        (rev 0)
+++ libgcrypt15/trunk/PKGBUILD	2016-10-01 22:21:20 UTC (rev 191178)
@@ -0,0 +1,38 @@
+# $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=libgcrypt15
+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')
+replaces=('libgcrypt11')
+source=("ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${pkgver}.tar.bz2"{,.sig})
+sha256sums=('301826b5e521c867056fd630aad6f0a60e176d18a017da6bc24b1695df3abe79'
+            'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+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: libgcrypt15/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list