[arch-commits] Commit in zeromq/repos/community-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Sep 9 07:47:34 UTC 2019


    Date: Monday, September 9, 2019 @ 07:47:34
  Author: alucryd
Revision: 509078

archrelease: copy trunk to community-x86_64

Added:
  zeromq/repos/community-x86_64/PKGBUILD
    (from rev 509077, zeromq/trunk/PKGBUILD)
Deleted:
  zeromq/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-09 07:47:29 UTC (rev 509077)
+++ PKGBUILD	2019-09-09 07:47:34 UTC (rev 509078)
@@ -1,53 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-pkgname=zeromq
-pkgver=4.3.1
-_cppver=4.3.0
-pkgrel=2
-pkgdesc="Fast messaging system built on sockets.  C and C++ bindings.  aka 0MQ, ZMQ."
-arch=('x86_64')
-url="http://www.zeromq.org"
-license=('LGPL')
-depends=('gcc-libs' 'util-linux' 'libsodium' 'libpgm')
-makedepends=('asciidoc' 'xmlto')
-options=('staticlibs')
-# "http://download.zeromq.org/$pkgname-$pkgver.tar.gz"
-source=("https://github.com/zeromq/libzmq/releases/download/v$pkgver/zeromq-$pkgver.tar.gz"
-        "zmq.hpp.$pkgver.tgz::https://github.com/zeromq/cppzmq/archive/v$_cppver.tar.gz")
-        #"zmq.hpp.$pkgver::https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp")
-sha256sums=('bcbabe1e2c7d0eec4ed612e10b94b112dd5f06fcefa994a0c79a45d835cd21eb'
-            '27d1f56406ba94ee779e639203218820975cf68174f92fbeae0f645df0fcada4')
-
-prepare() {
-  # Needed for new libsodium
-  sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $pkgname-$pkgver/configure
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure prefix=/usr --with-pgm --with-libsodium \
-    --with-documentation --enable-static
-  make
-}
-
-check() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # this will fail if zmq.hpp is out of date
-  LANG=C gcc -c ../cppzmq-$_cppver/zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o
-  rm -f test.o
-
-  if [[ $CARCH == 'i686' ]]; then
-    return 0
-  fi
-  make -k check
-}
-
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  cd "$srcdir/cppzmq-$_cppver"
-  install -Dm644 zmq.hpp "$pkgdir/usr/include/zmq.hpp"
-  install -Dm644 zmq_addon.hpp "$pkgdir/usr/include/zmq_addon.hpp"
-}
-

Copied: zeromq/repos/community-x86_64/PKGBUILD (from rev 509077, zeromq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-09 07:47:34 UTC (rev 509078)
@@ -0,0 +1,53 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+pkgname=zeromq
+pkgver=4.3.2
+_cppver=4.4.1
+pkgrel=1
+pkgdesc="Fast messaging system built on sockets. C and C++ bindings. aka 0MQ, ZMQ."
+arch=('x86_64')
+url="http://www.zeromq.org"
+license=('LGPL')
+depends=('gcc-libs' 'util-linux' 'libsodium' 'libpgm')
+makedepends=('asciidoc' 'xmlto')
+options=('staticlibs')
+# "http://download.zeromq.org/$pkgname-$pkgver.tar.gz"
+source=("https://github.com/zeromq/libzmq/releases/download/v$pkgver/zeromq-$pkgver.tar.gz"
+        "zmq.hpp.$pkgver.tgz::https://github.com/zeromq/cppzmq/archive/v$_cppver.tar.gz")
+        #"zmq.hpp.$pkgver::https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp")
+sha256sums=('ebd7b5c830d6428956b67a0454a7f8cbed1de74b3b01e5c33c5378e22740f763'
+            '117fc1ca24d98dbe1a60c072cde13be863d429134907797f8e03f654ce679385')
+
+prepare() {
+  # Needed for new libsodium
+  sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $pkgname-$pkgver/configure
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure prefix=/usr --with-pgm --with-libsodium \
+    --with-documentation --enable-static
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # this will fail if zmq.hpp is out of date
+  LANG=C gcc -c ../cppzmq-$_cppver/zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o
+  rm -f test.o
+
+  if [[ $CARCH == 'i686' ]]; then
+    return 0
+  fi
+  make -k check
+}
+
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  cd "$srcdir/cppzmq-$_cppver"
+  install -Dm644 zmq.hpp "$pkgdir/usr/include/zmq.hpp"
+  install -Dm644 zmq_addon.hpp "$pkgdir/usr/include/zmq_addon.hpp"
+}
+


More information about the arch-commits mailing list