c352216c63
Variables TERMUX_PKG_PLATFORM_INDEPENDENT TERMUX_DEBUG TERMUX_PKG_HAS_DEBUG TERMUX_PKG_ESSENTIAL TERMUX_SUBPKG_ESSENTIAL TERMUX_PKG_NO_STATICSPLIT TERMUX_PKG_BUILD_IN_SRC TERMUX_PKG_FORCE_CMAKE TERMUX_PKG_HOSTBUILD should not accept arbitrary values for marking them "enabled". Instead they should accept boolean values which makes them easier to handle and also makes their meaning clear. build-package.sh should make decision based on variable's value but not on whether it is set or empty. %ci:no-build
16 lines
654 B
Bash
16 lines
654 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/andmarti1424/sc-im
|
|
TERMUX_PKG_DESCRIPTION="An improved version of sc, a spreadsheet calculator"
|
|
TERMUX_PKG_LICENSE="BSD"
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
|
TERMUX_PKG_VERSION=0.7.0
|
|
TERMUX_PKG_REVISION=4
|
|
TERMUX_PKG_SRCURL=https://github.com/andmarti1424/sc-im/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
|
|
TERMUX_PKG_DEPENDS="libandroid-support, libzip, ncurses"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_post_configure() {
|
|
CFLAGS+=" $CPPFLAGS -I$TERMUX_PREFIX/include/libandroid-support"
|
|
cp -rf src/* .
|
|
}
|