void-packages/srcpkgs/tty-clock/template
2019-08-26 15:28:00 +02:00

28 lines
802 B
Bash

# Template file for 'tty-clock'
pkgname=tty-clock
version=2.3
revision=2
makedepends="ncurses-devel"
short_desc="Digital clock in ncurses"
maintainer="Lugubris <lugubris@disroot.org>"
license="BSD-3-Clause"
homepage="https://github.com/xorg62/tty-clock"
distfiles="https://github.com/xorg62/tty-clock/archive/v${version}.tar.gz
https://raw.githubusercontent.com/xorg62/tty-clock/master/LICENSE"
checksum="343e119858db7d5622a545e15a3bbfde65c107440700b62f9df0926db8f57984
19b60b629c724d426ce56bfd8effefa03555c4bafd757e66063722c9178cc971"
replaces="tty-clock-git>=0"
skip_extraction="LICENSE"
do_build() {
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lncursesw"
}
do_install() {
vbin tty-clock
vman tty-clock.1
}
post_install() {
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE
}