pkgname=zeromq pkgver=4.3.5 pkgrel=1 pkgdesc="Lightweight messaging kernel library which extends the standard socket interfaces." arch=('x86_64') url="http://www.zeromq.org" license=('LGPL') depends=('gcc-libs' 'libsodium' 'util-linux' ) makedepends=('cmake') options=('staticlibs') source=("https://github.com/zeromq/libzmq/releases/download/v${pkgver}/zeromq-${pkgver}.tar.gz" "https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp") sha1sums=('bdbf686c8a40ba638e21cf74e34dbb425e108500' '604cbba752a28fc54ea61a28e79cb4f568aa759c') build() { cmake -B build -S zeromq-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_STATIC=OFF cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build install -Dm644 zmq.hpp ${pkgdir}/usr/include/zmq.hpp }