diff options
Diffstat (limited to 'protoc')
| -rw-r--r-- | protoc/Staplerfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/protoc/Staplerfile b/protoc/Staplerfile new file mode 100644 index 0000000..c404ec0 --- /dev/null +++ b/protoc/Staplerfile @@ -0,0 +1,34 @@ +name="protoc" +version="33.5" +release=1 +summary="Protocol Buffers - Google's data interchange format" + +desc="This package contains a precompiled binary version of the protocol buffer +compiler (protoc). This binary is intended for users who want to use Protocol +Buffers in languages other than C++ but do not want to compile protoc +themselves. To install, simply place this binary somewhere in your PATH. If you +intend to use the included well known types then don't forget to copy the +contents of the 'include' directory somewhere as well, for example into +'/usr/local/include/'. Please refer to our official github site for more +installation instructions: https://github.com/protocolbuffers/protobuf" + +homepage="https://protobuf.dev/" +maintainer="Alexander NeonXP Kiryukhin <i@neonxp.ru>" +architectures=('amd64') +license="BSD-3-Clause" +sources=("https://github.com/protocolbuffers/protobuf/releases/download/v$version/protoc-$version-linux-x86_64.zip") +checksums=("SKIP") +disable_network=1 + +provides=('protoc') +conflicts=('protoc') + +package() { + install-binary bin/protoc + mkdir -p ${pkgdir}/usr/include + cp -R ${srcdir}/include ${pkgdir}/usr/include +} + +files() { + files-find **/* +} |
