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

Kyle Keen kkeen at archlinux.org
Sat Jul 7 00:40:56 UTC 2018


    Date: Saturday, July 7, 2018 @ 00:40:56
  Author: kkeen
Revision: 353927

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  105 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 51 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-07 00:40:44 UTC (rev 353926)
+++ PKGBUILD	2018-07-07 00:40:56 UTC (rev 353927)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-pkgname=zeromq
-pkgver=4.2.2
-pkgrel=2
-pkgdesc="Fast messaging system built on sockets.  C and C++ bindings.  aka 0MQ, ZMQ."
-arch=('i686' '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::https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp")
-sha256sums=('5b23f4ca9ef545d5bd3af55d305765e3ee06b986263b31967435d285a3e6df6b'
-            '02b73219656df3ffe3b231c7d0326e754a738ef2a83c8e94cd1e47d22cdd9535')
-
-prepare() {
-  # Needed for new libsodium
-  sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $pkgname-$pkgver/configure
-  cp zmq.hpp.$pkgver zmq.hpp
-}
-
-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 ../zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o
-  rm -f test.o
-
-  # 10/63 tests fail on the build server
-  # 100% pass on my local box?
-  return 0
-  if [[ $CARCH == 'i686' ]]; then
-    return 0
-  fi
-  make -k check
-}
-
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  install -Dm644 "$srcdir/zmq.hpp" "$pkgdir/usr/include/zmq.hpp"
-}
-

Copied: zeromq/repos/community-x86_64/PKGBUILD (from rev 353926, zeromq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-07 00:40:56 UTC (rev 353927)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+pkgname=zeromq
+pkgver=4.2.3
+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::https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp")
+sha256sums=('8f1e2b2aade4dbfde98d82366d61baef2f62e812530160d2e6d0a5bb24e40bc0'
+            '02b73219656df3ffe3b231c7d0326e754a738ef2a83c8e94cd1e47d22cdd9535')
+
+prepare() {
+  # Needed for new libsodium
+  sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $pkgname-$pkgver/configure
+  cp zmq.hpp.$pkgver zmq.hpp
+}
+
+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 ../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
+  install -Dm644 "$srcdir/zmq.hpp" "$pkgdir/usr/include/zmq.hpp"
+}
+



More information about the arch-commits mailing list