summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/czmq/PKGBUILD27
-rw-r--r--pcr/filemq/PKGBUILD34
2 files changed, 61 insertions, 0 deletions
diff --git a/pcr/czmq/PKGBUILD b/pcr/czmq/PKGBUILD
new file mode 100644
index 000000000..2cb94125c
--- /dev/null
+++ b/pcr/czmq/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Brian Knox <taotetek at gmail.com>
+# Maintainer: Brian Knox <taotetek at gmail.com>
+pkgname=czmq
+pkgver=2.0.2
+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')
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/filemq/PKGBUILD b/pcr/filemq/PKGBUILD
new file mode 100644
index 000000000..57f5eb69d
--- /dev/null
+++ b/pcr/filemq/PKGBUILD
@@ -0,0 +1,34 @@
+pkgname=filemq
+pkgver=v1.0a.r124.gd2d6274
+pkgrel=1
+pkgdesc="Chunked, flow-controlled, restartable, cancellable, async, multicast file transfer ØMQ protocol"
+url="https://github.com/zeromq/filemq"
+license=('GPL3' 'LGPL3')
+depends=('zeromq' 'czmq')
+makedepends=('git')
+arch=('i686' 'x86_64')
+
+source=("git+https://github.com/zeromq/filemq#branch=master")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ git describe --always| sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+
+ ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make prefix=${pkgdir}/usr install
+}