pkgname=ntp pkgver=4.2.6p2 pkgrel=1 pkgdesc="NTP (Network Time Protocol) tries to keep servers in sync" arch=(i686 x86_64) url="http://www.ntp.org/" depends=('openssl' 'readline' ) backup=('etc/ntp.conf' 'conf.d/ntp-client.conf') source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${pkgver}.tar.gz \ ntp.conf ntp-client.conf ntpd ntpdate ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 make prefix=$startdir/pkg/usr install mkdir -p $startdir/pkg/usr/share/ntp/ $startdir/pkg/usr/man/man1/ install -D -m644 conf/* $startdir/pkg/usr/share/ntp/ install -D -m755 $startdir/ntpd $startdir/pkg/etc/rc.d/ntpd install -D -m755 $startdir/ntpdate $startdir/pkg/etc/rc.d/ntpdate install -D -m644 $startdir/src/man/* $startdir/pkg/usr/man/man1/ install -D -m644 $startdir/ntp-client.conf $startdir/pkg/etc/conf.d/ntp-client.conf install -D -m644 $startdir/ntp.conf $startdir/pkg/etc/ntp.conf } md5sums=('cf73cd85f248232c62f8029e6eb05938' '833c9d699765bd60825b5713670be460' '25eb8d2176fe642b488e4b9fa03179ac' 'b1a1798b9cd1907d65a7fc794294d6ce' '140855352baeb89da0c6c1c475c18b57')