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
671 B
Bash
16 lines
671 B
Bash
TERMUX_PKG_HOMEPAGE=http://pybookreader.narod.ru/misc.html
|
|
TERMUX_PKG_DESCRIPTION="Console FictionBook reader"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
|
TERMUX_PKG_VERSION=0.2.3
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SRCURL=http://deb.debian.org/debian/pool/main/f/fbless/fbless_${TERMUX_PKG_VERSION}.orig.tar.gz
|
|
TERMUX_PKG_SHA256=68ae914d141da913ed6ff1805a1739346c33756b64a9407c14e95e278452c362
|
|
TERMUX_PKG_DEPENDS="ncurses, python2"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_make_install() {
|
|
export PYTHONPATH="$TERMUX_PREFIX/lib/python2.7/site-packages/"
|
|
python2.7 setup.py install --prefix="$TERMUX_PREFIX" --force
|
|
}
|