From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- libs/protobuf/MAKEPKG | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 libs/protobuf/MAKEPKG (limited to 'libs/protobuf/MAKEPKG') diff --git a/libs/protobuf/MAKEPKG b/libs/protobuf/MAKEPKG new file mode 100644 index 0000000..22844c6 --- /dev/null +++ b/libs/protobuf/MAKEPKG @@ -0,0 +1,36 @@ +#!/bin/mkpkg +# description: Protocol Buffers compiler and libraries +# url: https://github.com/protocolbuffers/protobuf + +name=protobuf +version=36.1 +release=2 +depends=(abseil-cpp zlib) +makedeps=(cmake) +source=(https://github.com/protocolbuffers/$name/releases/download/v$version/$name-$version.tar.gz) + +sha256sums=( + "dc74fa582f559cbd31614ddfefb4868f43c919d7184bde514bb47f90c6025eb8" +) + +build() { + cmake -B build -S $name-$version \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_STANDARD=17 \ + -Dprotobuf_BUILD_TESTS=OFF \ + -Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON \ + -Dprotobuf_BUILD_SHARED_LIBS=ON \ + -Dutf8_range_ENABLE_INSTALL=ON + + cmake --build build + DESTDIR=$PKG cmake --install build +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh -- cgit v1.3.1