summaryrefslogtreecommitdiff
path: root/pcr/czmq/PKGBUILD
blob: ab760137ee4942b360c19e20d80ffe164b9fc8dd (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
# Contributor (Arch): Aleksey Filippov <sarum9in@gmail.com>
# Contributor (Arch): Friedrich Weber <fred@reichbier.de>
# Maintainer        : Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=czmq
pkgver=3.0.0
pkgrel=1
pkgdesc="High-level C binding for 0MQ"
arch=('i686' 'x86_64')
url="http://czmq.zeromq.org"
license=('MPL2')
depends=('zeromq>=4.0')
sha1sums=('8ceec4058e8176c34c638f5fc33e0bda2c1dad46')
makedepends=()
source=(https://github.com/zeromq/czmq/archive/v${pkgver}.tar.gz)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./autogen.sh
  ./configure --prefix=/usr
  make $MAKEFLAGS
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
  mv "$pkgdir/usr/bin/makecert" "$pkgdir/usr/bin/makecert.czmq"
}