summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSajaysurya Ganesh2018-07-15 22:47:57 +0100
committerSajaysurya Ganesh2018-07-15 22:47:57 +0100
commit6df3f32fab19fa3fb652c1367f2853444eb9bf9e (patch)
tree750970d06cc7326a965d4d21b6aeead882f342ec
downloadaur-6df3f32fab19fa3fb652c1367f2853444eb9bf9e.tar.gz
Initial commit
Signed-off-by: Sajaysurya Ganesh <sajay.surya@gmail.com>
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..14287b05f46
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = grpc-cpp-git
+ pkgdesc = GRPC-C++
+ pkgver = 1
+ pkgrel = 1
+ url = https://github.com/grpc/grpc
+ arch = any
+ license = Apache 2.0
+ makedepends = git
+ depends = python-setuptools
+ depends = python-numpy
+ depends = python-scipy
+ source = git+https://github.com/grpc/grpc.git
+ md5sums = SKIP
+
+pkgname = grpc-cpp-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9b28f5288ca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}