diff options
author | wener <wenermail@gmail.com> | 2018-04-03 18:31:01 +0800 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-06 05:19:21 +0000 |
commit | e2fb05b5c3f92ba4d53a3ab908ba53720824c16a (patch) | |
tree | 3c863b83baf998d586346ed42c0a994270eb2a98 /testing/grpc-java | |
parent | f64b13cb9d4a23097440c8b831a4d05405074c2a (diff) | |
download | aports-e2fb05b5c3f92ba4d53a3ab908ba53720824c16a.tar.bz2 aports-e2fb05b5c3f92ba4d53a3ab908ba53720824c16a.tar.xz |
testing/grpc-java: new aport
Diffstat (limited to 'testing/grpc-java')
-rw-r--r-- | testing/grpc-java/APKBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/grpc-java/APKBUILD b/testing/grpc-java/APKBUILD new file mode 100644 index 0000000000..a69bcbe584 --- /dev/null +++ b/testing/grpc-java/APKBUILD @@ -0,0 +1,25 @@ +# Contributor: wener <wenermail@gmail.com> +# Maintainer: wener <wenermail@gmail.com> +pkgname=grpc-java +pkgver=1.10.0 +pkgrel=0 +pkgdesc="The Java gRPC implementation. HTTP/2 based RPC" +url="https://github.com/grpc/grpc-java" +arch="all" +license="Apache2" +depends="openjdk8-jre" +makedepends="openjdk8 protobuf-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/grpc/grpc-java/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" +options="!check" + +build() { + cd "$builddir"/compiler + ../gradlew java_pluginExecutable +} + +package() { + install -D -m 755 "$builddir"/compiler/build/exe/java_plugin/protoc-gen-grpc-java "$pkgdir"/usr/bin/protoc-gen-grpc-java +} + +sha512sums="0af20e583b6f4190fe61b70111459a78650bcc3d01b8cf5a4a4411b805567ddb027c9ad8bc62307a0f2981a64d40d30531f9462a124104bd12a0d05fe34420c8 grpc-java-1.10.0.tar.gz" |