termux-packages/packages/matterbridge/build.sh
Aditya Alok 55e861a17f
feat(matterbridge): enable auto-update, upgrade to 1.25.0
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-19 18:34:14 +05:30

40 lines
1.3 KiB
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/42wim/matterbridge
TERMUX_PKG_DESCRIPTION="A simple chat bridge"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.25.0
TERMUX_PKG_SRCURL=https://github.com/42wim/matterbridge/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c8ae52a07d06f416ba9439f0b8fa9163c6f19ca4520a941eb4f6aa5452682017
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
# ```
# # github.com/Benau/go_rlottie
# <instantiation>:1:1: error: unknown directive
# .func fname
# ^
# <instantiation>:2:5: note: while in macro instantiation
# pixman_asm_function fname
# ^
# vector_pixman_pixman-arm-neon-asm.S:337:1: note: while in macro instantiation
# generate_composite_function pixman_composite_over_8888_8888_asm_neon, 32, 0, 32, FLAG_DST_READWRITE | FLAG_DEINTERLEAVE_32BPP, 8, 5, default_init, default_cleanup, pixman_composite_over_8888_8888_process_pixblock_head, pixman_composite_over_8888_8888_process_pixblock_tail, pixman_composite_over_8888_8888_process_pixblock_tail_head
# ^
# ```
TERMUX_PKG_BLACKLISTED_ARCHES="arm"
termux_step_pre_configure() {
termux_setup_golang
go mod init || :
go mod tidy
}
termux_step_make() {
go build
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin matterbridge
}