blob: a7e6c5af22dacfe4429bd086df83e3368d961cb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
# Previous maintainer: Andy Weidenbaum <archbaum@gmail.com>
# Contributor: Daniel YC Lin <dlin.tw at gmail.com>
# Contributor: boypt <pentie at gmail.com>
# Contributor: Kyle Keen <keenerd@gmail.com>
pkgname=zeromq-git
pkgver=4.3.3.r7.g1495ccad
pkgrel=1
pkgdesc="Fast messaging system built on sockets. C and C++ bindings. aka 0MQ, ZMQ"
arch=('i686' 'x86_64')
url="https://zeromq.org/"
license=('GPL' 'LGPL')
depends=('glibc' 'libpgm' 'libsodium' 'util-linux')
makedepends=('git' 'asciidoc' 'pkgconf' 'xmlto')
provides=('zeromq' 'libzmq.so')
conflicts=('zeromq')
options=('staticlibs')
source=("git+https://github.com/zeromq/libzmq.git"
"git+https://github.com/zeromq/cppzmq.git")
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd "libzmq"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "libzmq"
./autogen.sh
./configure \
--prefix="/usr" \
--disable-Werror \
--enable-static \
--with-libsodium \
--with-pgm
make
}
check() {
cd "libzmq"
#make check
}
package() {
cd "$srcdir/libzmq"
make DESTDIR="$pkgdir" install
cd "$srcdir/cppzmq"
install -Dm644 {zmq.hpp,zmq_addon.hpp} -t "$pkgdir/usr/include"
}
|