diff options
Diffstat (limited to 'pcr/filemq/PKGBUILD')
-rw-r--r-- | pcr/filemq/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 +} |