# Maintainer: Sajaysurya Ganesh pkgname="grpc-cpp-git" pkgver="1" pkgrel=1 pkgdesc="GRPC-C++" arch=('any') url="https://github.com/grpc/grpc" license=('Apache 2.0') depends=('autoconf' 'libtool' 'pkg-config' 'clang') makedepends=('git' 'base-devel') source=('git+https://github.com/grpc/grpc.git') md5sums=('SKIP') pkgver() { cd "$srcdir" cd grpc # Git, tags available printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } build() { cd grpc git submodule update --init make } package() { cd grpc make install }