telepathy-glib: Add version guard

%ci:no-build
This commit is contained in:
Tee KOBAYASHI 2022-10-16 00:16:21 +09:00
parent 27b4becb4f
commit 7fec4ef4c4
1 changed files with 10 additions and 0 deletions

View File

@ -10,3 +10,13 @@ TERMUX_PKG_DEPENDS="dbus-glib, glib"
TERMUX_PKG_BREAKS="telepathy-glib-dev"
TERMUX_PKG_REPLACES="telepathy-glib-dev"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_post_massage() {
local _GUARD_FILES="lib/libtelepathy-glib.so"
local f
for f in ${_GUARD_FILES}; do
if [ ! -e "${f}" ]; then
termux_error_exit "Error: file ${f} not found."
fi
done
}