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

Antonio Rojas arojas at archlinux.org
Sat Dec 5 13:22:44 UTC 2020


    Date: Saturday, December 5, 2020 @ 13:22:43
  Author: arojas
Revision: 770559

archrelease: copy trunk to multilib-staging-x86_64

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

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

Copied: lib32-zeromq/repos/multilib-staging-x86_64/PKGBUILD (from rev 770558, lib32-zeromq/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2020-12-05 13:22:43 UTC (rev 770559)
@@ -0,0 +1,61 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Colm Hickey <colmohici at gmail.com>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=lib32-zeromq
+pkgver=4.3.3
+_cppver=4.6.0
+pkgrel=2
+pkgdesc='Fast messaging system built on sockets'
+arch=(x86_64)
+url=https://www.zeromq.org
+license=(LGPL)
+depends=(
+  lib32-gcc-libs
+  lib32-glibc
+  lib32-libpgm
+  lib32-libsodium
+  zeromq
+)
+makedepends=(
+  asciidoc
+  git
+  xmlto
+)
+source=("https://github.com/zeromq/libzmq/releases/download/v$pkgver/zeromq-$pkgver.tar.gz"
+        "zmq.hpp.$_cppver.tgz::https://github.com/zeromq/cppzmq/archive/v$_cppver.tar.gz")
+sha256sums=('9d9285db37ae942ed0780c016da87060497877af45094ff9e1a1ca736e3875a2'
+            'e9203391a0b913576153a2ad22a2dc1479b1ec325beb6c46a3237c669aef5a52')
+
+prepare() {
+  cd zeromq-$pkgver
+  # Needed for new libsodium
+  sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' configure
+
+  sed -i 's/openpgm-5.1/openpgm-5.3/' configure configure.ac
+  sed -i 's/CXXFLAGS="-Wno-long-long/CXXFLAGS="-Wno-unused-function -Wno-long-long/' configure
+}
+
+build() {
+  cd zeromq-$pkgver
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  ./configure \
+    prefix=/usr \
+    --libdir=/usr/lib32 \
+    --disable-static \
+    --with-libsodium \
+    --with-pgm \
+    --without-documentation
+  make -Wno-unused-function -Wnoerror=unused-function
+}
+
+package() {
+  make DESTDIR="${pkgdir}" -C zeromq-$pkgver install
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list