From 2b153ef49df5b8b81fb03657649750d8c6933db9 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 16 Jun 2019 14:52:16 +0300 Subject: [PATCH] new package: fbless https://github.com/termux/unstable-packages/issues/14 --- packages/fbless/build.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packages/fbless/build.sh diff --git a/packages/fbless/build.sh b/packages/fbless/build.sh new file mode 100644 index 000000000..48f232de5 --- /dev/null +++ b/packages/fbless/build.sh @@ -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 " +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 +}