blob: 54d1fe47627d53d9e15a4f26235c84616f71bb1d (
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
|
# 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=('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
}
|