void-packages/srcpkgs/whowatch/template
Piotr Wójcik bfc4600bbb whowatch: update to 1.8.6.
Closes #14716.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-26 14:10:58 +02:00

27 lines
751 B
Bash

# Template file for 'whowatch'
pkgname=whowatch
version=1.8.6
revision=1
wrksrc="whowatch-whowatch-${version}"
build_style=gnu-configure
hostmakedepends="automake"
makedepends="ncurses-devel"
short_desc="Displays information about the users currently logged on in real time"
maintainer="Jan S. <jan.schreib@gmail.com>"
license="GPL-2.0-or-later"
disable_parallel_build="yes"
homepage="http://wizard.ae.krakow.pl/~mike/#whowatch"
distfiles="https://github.com/mtsuszycki/whowatch/archive/whowatch-${version}.tar.gz"
checksum=1b8d54e3de4d8325c47a0fb8765cbaaeee8744359b5dacd4bdb3e40b4e31797e
pre_configure() {
autoreconf -fi
}
post_configure() {
echo "#define RETURN_TV_IN_SELECT 1" >> src/config.h
}
post_install() {
rm -rf ${DESTDIR}/usr/local
}