Commit | Line | Data |
---|---|---|
97e385f7 OS |
1 | TERMUX_PKG_HOMEPAGE=https://github.com/xorg62/tty-clock |
2 | TERMUX_PKG_DESCRIPTION="tty-clock is a simple ncurses-based clock that shows the time and date using a large display. It has a few commandline options to customize the output." | |
3 | TERMUX_PKG_VERSION=0.1.20160928 | |
4 | # The current tagged release is a few years older than the latest commit and has many problems | |
5 | _COMMIT=516afbf9f96101c0bed1c366f80d7ca087b0557d | |
6 | TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli" | |
7 | TERMUX_PKG_SRCURL=https://github.com/xorg62/tty-clock/archive/${_COMMIT}.tar.gz | |
8 | TERMUX_PKG_FOLDERNAME=tty-clock-${_COMMIT} | |
9 | TERMUX_PKG_DEPENDS="ncurses" | |
10 | TERMUX_PKG_BUILD_IN_SRC=yes | |
11 | ||
12 | termux_step_pre_make () { | |
13 | LDFLAGS+=" -lncurses" | |
14 | CFLAGS+=" $CPPFLAGS" | |
15 | } | |
16 |