Files
termux-packages/packages/libzim/build.sh
termux-pacman-bot 6197d151d9 bump(main/libzim): 8.2.0
This commit has been automatically submitted by Github Actions.
2023-04-29 06:31:00 +00:00

22 lines
849 B
Bash

TERMUX_PKG_HOMEPAGE=https://openzim.org
TERMUX_PKG_DESCRIPTION="The ZIM library is the reference implementation for the ZIM file format."
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="8.2.0"
TERMUX_PKG_SRCURL=https://github.com/openzim/libzim/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=888512f43ce8fb8e6dad005b3efecc1642ad95cdff2b0e54dac2ab957a835467
TERMUX_PKG_DEPENDS="libc++, libicu, liblzma, libxapian, zstd"
TERMUX_PKG_BUILD_DEPENDS="googletest, libuuid"
TERMUX_PKG_AUTO_UPDATE=true
termux_step_post_get_source() {
# Do not forget to bump revision of reverse dependencies and rebuild them
# after SOVERSION is changed.
local _SOVERSION=8
local v=$(echo ${TERMUX_PKG_VERSION#*:} | cut -d . -f 1)
if [ "${v}" != "${_SOVERSION}" ]; then
termux_error_exit "SOVERSION guard check failed."
fi
}