summaryrefslogtreecommitdiff
path: root/pcr/filemq/PKGBUILD
blob: 57f5eb69dbc1d9607c0cb5efa9bd6d5fb26112be (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
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
}