termux-api: Add options to termux-notification
[termux-packages] / packages / newsbeuter / build.sh
CommitLineData
b3a91ddd
BK
1TERMUX_PKG_HOMEPAGE=http://www.newsbeuter.org
2TERMUX_PKG_DESCRIPTION="An open-source RSS/Atom feed reader for text terminals"
3TERMUX_PKG_VERSION=2.9
4TERMUX_PKG_SRCURL=http://www.newsbeuter.org/downloads/newsbeuter-${TERMUX_PKG_VERSION}.tar.gz
5TERMUX_PKG_FOLDERNAME=newsbeuter-${TERMUX_PKG_VERSION}
6TERMUX_PKG_DEPENDS="libandroid-support, json-c, libsqlite, libcurl, libxml2, stfl, ncurses, openssl"
7TERMUX_PKG_BUILD_IN_SRC=yes
8TERMUX_PKG_RM_AFTER_INSTALL="share/locale"
9
10termux_step_pre_configure () {
11 # Put a temporary link for libtinfo.so
12 ln -s -f $TERMUX_PREFIX/lib/libncursesw.so $TERMUX_PREFIX/lib/libtinfo.so
13}
14
15termux_step_configure () {
16 # nwesbeuter doesn't contain configure script
17 return
18}
19
20termux_step_post_make_install () {
21 rm $TERMUX_PREFIX/lib/libtinfo.so
22}