summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/czmq/PKGBUILD39
1 files changed, 22 insertions, 17 deletions
diff --git a/pcr/czmq/PKGBUILD b/pcr/czmq/PKGBUILD
index dd16901f0..ab760137e 100644
--- a/pcr/czmq/PKGBUILD
+++ b/pcr/czmq/PKGBUILD
@@ -1,27 +1,32 @@
-# Contributor (Arch): Brian Knox <taotetek at gmail.com>
-# Maintainer (Arch): Brian Knox <taotetek at gmail.com>
+# 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=2.0.2
+pkgver=3.0.0
pkgrel=1
-pkgdesc="High level C API for ZeroMQ"
-arch=(i686 x86_64)
-url="http://czmq.zeromq.org/"
-license=('LGPL')
-depends=('zeromq')
-makedepends=('asciidoc' 'xmlto')
-options=(!libtool)
-source=(http://download.zeromq.org/${pkgname}-${pkgver}.tar.gz)
-
-sha1sums=('9a78ea2bf2100863eefdd0512c77486ebd1e2587')
-sha256sums=('75115c2a89facf7f706bc24d0cd09ad0cc4f173a6b6b242743a7ed4ffa7a791b')
+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}"
+ cd "$srcdir/$pkgname-$pkgver"
+ ./autogen.sh
./configure --prefix=/usr
- make
+ make $MAKEFLAGS
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
}
package() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
+ mv "$pkgdir/usr/bin/makecert" "$pkgdir/usr/bin/makecert.czmq"
}