summaryrefslogtreecommitdiff
path: root/community/chrony/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/chrony/PKGBUILD')
-rw-r--r--community/chrony/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/chrony/PKGBUILD b/community/chrony/PKGBUILD
new file mode 100644
index 000000000..dd6d1d9ec
--- /dev/null
+++ b/community/chrony/PKGBUILD
@@ -0,0 +1,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=('i686' 'x86_64')
+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
+}