aboutsummaryrefslogtreecommitdiff
path: root/protoc/Staplerfile
blob: c404ec029eaff52cfbd0e5616e5d750bc56c3ba0 (plain) (blame)
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
33
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 **/*
}