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

Maxime Gauduin alucryd at archlinux.org
Fri Dec 7 07:57:25 UTC 2018


    Date: Friday, December 7, 2018 @ 07:57:24
  Author: alucryd
Revision: 412027

upgpkg: lib32-zeromq 4.3.0-1

Modified:
  lib32-zeromq/trunk/PKGBUILD

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++------------
 1 file changed, 24 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-07 07:49:42 UTC (rev 412026)
+++ PKGBUILD	2018-12-07 07:57:24 UTC (rev 412027)
@@ -3,18 +3,33 @@
 # Contributor: Kyle Keen <keenerd at gmail.com>
 
 pkgname=lib32-zeromq
-pkgver=4.2.5
+pkgver=4.3.0
 pkgrel=1
 pkgdesc='Fast messaging system built on sockets'
-arch=('x86_64')
+arch=(x86_64)
 url='http://www.zeromq.org'
-license=('LGPL')
-depends=('lib32-gcc-libs' 'lib32-glibc' 'lib32-libpgm' 'lib32-libsodium'
-         'zeromq')
-makedepends=('asciidoc' 'git' 'xmlto')
-source=("git+https://github.com/zeromq/libzmq.git#tag=v${pkgver}")
-sha256sums=('SKIP')
+license=(LGPL)
+depends=(
+  lib32-gcc-libs
+  lib32-glibc
+  lib32-libpgm
+  lib32-libsodium
+  zeromq
+)
+makedepends=(
+  asciidoc
+  git
+  xmlto
+)
+source=(git+https://github.com/zeromq/libzmq.git#tag=v${pkgver})
+sha256sums=(SKIP)
 
+prepare() {
+  cd libzmq
+
+  ./autogen.sh
+}
+
 build() {
   cd libzmq
 
@@ -22,7 +37,6 @@
   export CXX='g++ -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
 
-  ./autogen.sh
   ./configure \
     prefix='/usr' \
     --libdir='/usr/lib32' \
@@ -34,9 +48,7 @@
 }
 
 package() {
-  cd libzmq
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C libzmq install
   rm -rf "${pkgdir}"/usr/{bin,include,share}
 }
 


More information about the arch-commits mailing list