summaryrefslogtreecommitdiff
path: root/community/chrony/PKGBUILD
blob: efdc0b91d7b29aed260d125327b86bedaa68a5df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 65088 2012-02-20 03:35:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>
# Contributor: cdhotfire <cdhotfire@gmail.com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Maintainer: Elisamuel Resto <ryuji@simplysam.us>

pkgname=chrony
pkgver=1.26
pkgrel=2
pkgdesc="Dial-up friendly NTP daemon and excellent replacement for NTP on desktop systems"
arch=(mips64el)
url="http://chrony.tuxfamily.org/"
options=('strip')
license=('GPL')
depends=('readline' 'libcap')
backup=('etc/chrony.conf')
source=("http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz" \
	'chrony')
md5sums=('ad6dd619ff1986e4ff780363c64e2246'
         'd8b653c8bcc76cef00aa10fbd3eeb4f7')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
  make DESTDIR=$pkgdir install
  install -D -m0644 $srcdir/$pkgname-$pkgver/examples/chrony.conf.example $pkgdir/etc/chrony.conf
  install -D -m0755 $srcdir/chrony $pkgdir/etc/rc.d/chrony
}