new package: fbless

https://github.com/termux/unstable-packages/issues/14
This commit is contained in:
Leonid Pliushch 2019-06-16 14:52:16 +03:00
parent 6a24d94488
commit 2b153ef49d

15
packages/fbless/build.sh Normal file
View File

@ -0,0 +1,15 @@
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=yes
termux_step_make_install() {
export PYTHONPATH="$TERMUX_PREFIX/lib/python2.7/site-packages/"
python2.7 setup.py install --prefix="$TERMUX_PREFIX" --force
}