diff --git a/srcpkgs/ntp/template b/srcpkgs/ntp/template index 529133fc844..6e034839756 100644 --- a/srcpkgs/ntp/template +++ b/srcpkgs/ntp/template @@ -1,16 +1,15 @@ # Template file for 'ntp' pkgname=ntp version=4.2.6p5 -homepage="http://www.ntp.org/" -distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$version.tar.gz" +revision=2 build_style=gnu-configure configure_args="--enable-linuxcap" -depends="readline" makedepends="readline-devel openssl-devel libcap-devel" -revision=1 short_desc="The Network Time Protocol" license="BSD" maintainer="Juan RP " +homepage="http://www.ntp.org/" +distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$version.tar.gz" checksum=d6ab8371f9d31e594eb6922823d5ccd03dcc4e9d84b0e23ea25ac1405432f91c long_desc=" The Network Time Protocol (NTP) is used to synchronize a computer's @@ -22,11 +21,8 @@ subpackages="$pkgname-perl" conf_files="/etc/ntp.conf" systemd_services="ntpd.service on" - - -post_install() -{ - vinstall ${FILESDIR}/ntpd.service 644 lib/systemd/system +post_install() { + vinstall ${FILESDIR}/ntpd.service 644 usr/lib/systemd/system vinstall ${FILESDIR}/ntp.conf 644 etc vinstall ${FILESDIR}/ntpd.logrotate 644 etc/logrotate.d ntpd