termux-packages/packages/libprotobuf-c/build.sh
Leonid Pliushch 16d55adac2 libprotobuf: package has been moved to protocolbuffers/protobuf + downgrade to 3.13.0
Has to downgrade to 3.13.0 as host tools are not available for 3.13.0.1. Error:

 Downloading https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0.1/protoc-3.13.0.1-linux-x86_64.zip
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 curl: (22) The requested URL returned error: 404 Not Found
 Failed to download https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0.1/protoc-3.13.0.1-linux-x86_64.zip
2020-10-22 22:56:08 +03:00

12 lines
596 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/protobuf-c/protobuf-c
TERMUX_PKG_DESCRIPTION="Protocol buffers C library"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=1.3.3
TERMUX_PKG_REVISION=8
TERMUX_PKG_SRCURL=https://github.com/protobuf-c/protobuf-c/releases/download/v${TERMUX_PKG_VERSION}/protobuf-c-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=22956606ef50c60de1fabc13a78fbc50830a0447d780467d3c519f84ad527e78
TERMUX_PKG_DEPENDS="libc++, libprotobuf, protobuf"
TERMUX_PKG_BREAKS="libprotobuf-c-dev"
TERMUX_PKG_REPLACES="libprotobuf-c-dev"