void-packages/srcpkgs/chrony/template

28 lines
813 B
Bash

# Template file for 'chrony'
pkgname=chrony
version=2.1.1
revision=1
build_pie=yes
build_style=gnu-configure
configure_args="--without-nss"
hostmakedepends="pkg-config"
makedepends="libtomcrypt-devel libcap-devel libedit-devel"
conf_files="/etc/chrony.conf"
system_accounts="chrony"
chrony_homedir="/var/db/chrony"
make_dirs="
/var/log/chrony 0755 chrony chrony
/var/db/chrony 0755 chrony chrony"
short_desc="Sets your computer's clock from time servers on the Net"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://chrony.tuxfamily.org/"
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
checksum=b0565148eaa38e971291281d76556c32f0138ec22e9784f8bceab9c65f7ad7d4
post_install() {
vconf ${FILESDIR}/chrony.conf
vsv chronyd
rm -rf ${DESTDIR}/usr/share/doc
}