void-packages/srcpkgs/vnstat/template

24 lines
654 B
Bash

# Template file for 'vnstat'
pkgname=vnstat
version=2.12
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gd-devel sqlite-devel"
checkdepends="check-devel"
short_desc="Terminal based network traffic monitor"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://humdi.net/vnstat/"
changelog="https://humdi.net/vnstat/CHANGES"
distfiles="https://humdi.net/vnstat/vnstat-${version}.tar.gz"
checksum=b7386b12fc1fc6f47fab31f208b12eda61862e63e229e84e95a6fa80406d2852
conf_files="/etc/vnstat.conf"
make_dirs="/var/lib/vnstat 0755 root root"
post_install() {
vconf cfg/vnstat.conf
vsv vnstatd
}