mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
3fbd2cd324
This commit has been automatically submitted by Github Actions.
21 lines
800 B
Bash
21 lines
800 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/kkos/oniguruma
|
|
TERMUX_PKG_DESCRIPTION="Regular expressions library"
|
|
TERMUX_PKG_VERSION="6.9.9"
|
|
TERMUX_PKG_SRCURL=https://github.com/kkos/oniguruma/releases/download/v$TERMUX_PKG_VERSION/onig-$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_LICENSE="BSD"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
|
|
termux_step_post_get_source() {
|
|
# Do not forget to bump revision of reverse dependencies and rebuild them
|
|
# after SOVERSION is changed.
|
|
local _SOVERSION=5
|
|
|
|
local e=$(sed -En 's/^LTVERSION="?([0-9]+):([0-9]+):([0-9]+).*/\1-\3/p' \
|
|
configure.ac)
|
|
if [ ! "${e}" ] || [ "${_SOVERSION}" != "$(( "${e}" ))" ]; then
|
|
termux_error_exit "SOVERSION guard check failed."
|
|
fi
|
|
}
|