diff --git a/srcpkgs/chrony/template b/srcpkgs/chrony/template index 6c2a65aeaf..c20aa971b5 100644 --- a/srcpkgs/chrony/template +++ b/srcpkgs/chrony/template @@ -1,7 +1,7 @@ # Template file for 'chrony' pkgname=chrony version=1.26 -revision=9 +revision=10 build_style=gnu-configure makedepends="libcap-devel readline-devel" short_desc="Sets your computer's clock from time servers on the Net" @@ -32,8 +32,10 @@ make_dirs=" post_install() { vinstall ${FILESDIR}/chrony.conf 644 etc vinstall ${FILESDIR}/chrony.service 644 usr/lib/systemd/system - vinstall ${FILESDIR}/chrony.service 644 \ - usr/lib/systemd/ntp-units.d 50-chrony.list vinstall ${FILESDIR}/chrony.logrotate 644 etc/logrotate.d chrony rm -rf ${DESTDIR}/usr/share/doc + + # for systemd-timedated. + vmkdir usr/lib/systemd/ntp-units.d + echo "chrony.service" > ${DESTDIR}/usr/lib/systemd/ntp-units.d/50-chrony.list }