summaryrefslogtreecommitdiff
path: root/pcr/filemq/PKGBUILD
blob: df4358a2404750dbe9b8a32f282a08ad48d1afc2 (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' 'mips64el')

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
}