summaryrefslogtreecommitdiff
path: root/community/chrony/PKGBUILD
blob: a957f837ac345289b7e3ae625c40ac97473314a6 (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$
# 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=1
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
}