weechat-matrix-rs: Bump to 2022.10.04

This commit is contained in:
Tee KOBAYASHI 2022-12-20 23:02:48 +09:00 committed by xtkoba
parent d65dcd46c2
commit 087ca985d1
1 changed files with 4 additions and 5 deletions

View File

@ -3,11 +3,10 @@ TERMUX_PKG_DESCRIPTION="Rust rewrite of the python weechat-matrix script"
TERMUX_PKG_LICENSE="ISC"
TERMUX_PKG_LICENSE_FILE="LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
_COMMIT=ca23e1745e6e2ba235550360e1def1457e2f3857
TERMUX_PKG_VERSION=2022.10.04
TERMUX_PKG_SRCURL="https://github.com/poljar/weechat-matrix-rs.git"
TERMUX_PKG_GIT_BRANCH="master"
_COMMIT="dd6701910e687ed1ea3d768844a902cfd2ff8231"
TERMUX_PKG_VERSION="2022.04.17"
TERMUX_PKG_REVISION=1
TERMUX_PKG_GIT_BRANCH=main
TERMUX_PKG_DEPENDS="weechat, openssl"
TERMUX_PKG_BUILD_IN_SRC=true
# There are compile errors for 32-bit platforms in weechat-rust dependency
@ -17,7 +16,7 @@ termux_step_post_get_source() {
git fetch --unshallow
git checkout $_COMMIT
local version="$(git log -1 --date=format:"%Y.%m.%d" --format="%ad")"
local version="$(git log -1 --format=%cs | sed 's/-/./g')"
if [ "$version" != "$TERMUX_PKG_VERSION" ]; then
echo -n "ERROR: The specified version \"$TERMUX_PKG_VERSION\""
echo " is different from what is expected to be: \"$version\""