X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/97e385f7cc0c02f5a4dfccadaec85358b5941ecf..0085c3b7a4a824552df56c18ea37f3504cbe07b5:/packages/tty-clock/build.sh diff --git a/packages/tty-clock/build.sh b/packages/tty-clock/build.sh index 32ffd774..379b40a3 100644 --- a/packages/tty-clock/build.sh +++ b/packages/tty-clock/build.sh @@ -1,16 +1,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/xorg62/tty-clock -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." -TERMUX_PKG_VERSION=0.1.20160928 -# The current tagged release is a few years older than the latest commit and has many problems -_COMMIT=516afbf9f96101c0bed1c366f80d7ca087b0557d +TERMUX_PKG_DESCRIPTION="Simple terminal clock" +TERMUX_PKG_VERSION=2.3 TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli" -TERMUX_PKG_SRCURL=https://github.com/xorg62/tty-clock/archive/${_COMMIT}.tar.gz -TERMUX_PKG_FOLDERNAME=tty-clock-${_COMMIT} +TERMUX_PKG_SRCURL=https://github.com/xorg62/tty-clock/archive/v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=343e119858db7d5622a545e15a3bbfde65c107440700b62f9df0926db8f57984 +TERMUX_PKG_FOLDERNAME=tty-clock-${TERMUX_PKG_VERSION} TERMUX_PKG_DEPENDS="ncurses" TERMUX_PKG_BUILD_IN_SRC=yes - -termux_step_pre_make () { - LDFLAGS+=" -lncurses" - CFLAGS+=" $CPPFLAGS" -} -