summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b28f5288ca0758d5cb6eeabb2c99eec948333fc (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
# Maintainer: Sajaysurya Ganesh <sajay.surya@gmail.com>

pkgname="grpc-cpp-git"
pkgver="1"
pkgrel=1
pkgdesc="GRPC-C++"
arch=('any')
url="https://github.com/grpc/grpc"
license=('Apache 2.0')
depends=('python-setuptools' 'python-numpy' 'python-scipy')
makedepends=('git')
source=('git+https://github.com/grpc/grpc.git')
md5sums=('SKIP')

pkgver() {
    cd "$srcdir"

# Git, tags available
    printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
    git submodule update --init
    make
}

package() {
    make install
}