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

Evangelos Foutras foutrelis at archlinux.org
Tue May 5 05:20:46 UTC 2020


    Date: Tuesday, May 5, 2020 @ 05:20:45
  Author: foutrelis
Revision: 624799

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-gnutls/repos/multilib-staging-x86_64/
  lib32-gnutls/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 624798, lib32-gnutls/trunk/PKGBUILD)

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

Copied: lib32-gnutls/repos/multilib-staging-x86_64/PKGBUILD (from rev 624798, lib32-gnutls/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2020-05-05 05:20:45 UTC (rev 624799)
@@ -0,0 +1,52 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Christoph Vigano <mail at cvigano dot de>
+# Contributor: Biru Ionut <ionut at archlinux.ro>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Mikko Seppälä <t-r-a-y at mbnet.fi>
+
+_pkgbasename=gnutls
+pkgname=lib32-$_pkgbasename
+pkgver=3.6.13
+pkgrel=2
+pkgdesc="A library which provides a secure layer over a reliable transport layer (32-bit)"
+arch=('x86_64')
+license=('GPL3' 'LGPL2.1')
+url="https://gnutls.org/"
+depends=('lib32-zlib' 'lib32-nettle' 'lib32-p11-kit' 'lib32-libtasn1' 'lib32-libidn' $_pkgbasename)
+makedepends=('gcc-multilib')
+source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/${_pkgbasename}-${pkgver}.tar.xz{,.sig})
+sha256sums=('32041df447d9f4644570cf573c9f60358e865637d69b7e59d1159b7240b52f38'
+            'SKIP')
+validpgpkeys=(1F42418905D8206AA754CCDC29EE58B996865171)
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd ${_pkgbasename}-${pkgver}
+
+  # disable libidn for security reasons:
+  # http://lists.gnupg.org/pipermail/gnutls-devel/2015-May/007582.html
+
+  ./configure --prefix=/usr --libdir=/usr/lib32 --build=i686-pc-linux-gnu \
+    --with-zlib \
+    --with-included-unistring \
+    --disable-static \
+    --disable-guile \
+    --disable-valgrind-tests
+  make
+}
+
+check() {
+  cd ${_pkgbasename}-${pkgver}
+  #make -k check
+}
+
+package() {
+  cd ${_pkgbasename}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+}


More information about the arch-commits mailing list