void-packages/srcpkgs/tty-clock/template

22 lines
554 B
Bash

# Template file for 'tty-clock'
pkgname=tty-clock
version=2.3
revision=1
replaces="tty-clock-git>=0"
makedepends="ncurses-devel"
short_desc="Digital clock in ncurses"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-3"
homepage="https://github.com/xorg62/tty-clock"
distfiles="https://github.com/xorg62/tty-clock/archive/v${version}.tar.gz"
checksum=343e119858db7d5622a545e15a3bbfde65c107440700b62f9df0926db8f57984
do_build() {
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lncursesw"
}
do_install() {
vbin tty-clock
vman tty-clock.1
}