[arch-commits] Commit in zeromq/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Jul 1 12:46:07 UTC 2015


    Date: Wednesday, July 1, 2015 @ 14:46:07
  Author: kkeen
Revision: 136200

upgpkg: zeromq 4.1.2-3  better check()

Modified:
  zeromq/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-01 12:27:21 UTC (rev 136199)
+++ PKGBUILD	2015-07-01 12:46:07 UTC (rev 136200)
@@ -17,10 +17,14 @@
          'c1388ca58d417610b6c00d66c81a93f2'
          'b6b2f8d633b05bcbe970aab089f17d9b')
 
-build() {
+prepare() {
   cd "$srcdir/$pkgname-$pkgver"
   # temporary ipv6 fix for 4.1.2 (FS#45345)
   patch -Np1 -i  "$srcdir/81464652.patch"
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
   ./configure prefix=/usr --with-pgm --with-libsodium \
     --with-documentation --enable-static
   make
@@ -28,6 +32,9 @@
 
 check() {
   cd "$srcdir/$pkgname-$pkgver"
+  if [[ $CARCH == 'i686' ]]; then
+    return 0
+  fi
   make -k check
 }
 



More information about the arch-commits mailing list