termux-packages/packages/toxic/build.sh
Termux Github Actions 67a9c7e6d9 toxic: update to 0.10.1
This commit has been automatically submitted by Github Actions.
2021-01-21 01:16:13 +00:00

23 lines
743 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/JFreegman/toxic
TERMUX_PKG_DESCRIPTION="A command line client for Tox"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.10.1
TERMUX_PKG_SRCURL=https://github.com/JFreegman/toxic/archive/v${TERMUX_PKG_VERSION}/toxic-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b3cfbea28135fbc48c083276160cef02de755b60f6cfe1bd6efc1b5fdd4b92fe
TERMUX_PKG_DEPENDS="c-toxcore, libconfig, libcurl, libqrencode, ncurses, zlib"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
make \
PREFIX="${TERMUX_PREFIX}" \
CC="${CC}" \
PKG_CONFIG="${PKG_CONFIG}" \
USER_CFLAGS="${CFLAGS}" \
USER_LDFLAGS="${LDFLAGS}"
}
termux_step_make_install() {
make PREFIX="${TERMUX_PREFIX}" install
}