summaryrefslogtreecommitdiff
path: root/pcr/filemq/PKGBUILD
blob: d7fd58a2919bfbffaf516fa8b42c7a1b696638f9 (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
35
36
# Maintainers: Parabola hackers <dev@lists.parabola.nu>

pkgname=filemq
pkgver=v1.0a.r180.g8940f34
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
}