[arch-commits] Commit in chrony/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Mon Apr 27 19:11:56 UTC 2015
Date: Monday, April 27, 2015 @ 21:11:55
Author: spupykin
Revision: 132345
upgpkg: chrony 2.0-1
upd
Modified:
chrony/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-27 19:08:10 UTC (rev 132344)
+++ PKGBUILD 2015-04-27 19:11:55 UTC (rev 132345)
@@ -8,7 +8,7 @@
# Contributor: Elisamuel Resto <ryuji at simplysam.us>
pkgname=chrony
-pkgver=1.31.1
+pkgver=2.0
pkgrel=1
pkgdesc='Lightweight NTP client and server'
arch=('i686' 'x86_64')
@@ -20,16 +20,12 @@
source=(http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz
service)
install=${pkgname}.install
-sha256sums=('43aca956a0beb2c4847feffc847fec2c429ee9afb6252c7a499bbd68933046dd'
+sha256sums=('f4da5f5071e77314b49281c48c35a03d07d76cbc7ec19e787b4414a86023b68b'
'dbd30435d5f51a92ecef779efa0eabaf56d09a35a18ddd30644d5418beada212')
-sha256sums=('a35e1cae46ecbe14af2023bb47a72a03d79591b2ff65f0072b3400153224996d'
- 'dbd30435d5f51a92ecef779efa0eabaf56d09a35a18ddd30644d5418beada212')
-sha256sums=('0ba9f4b58e20b2eaae921eb8c798108ef72d8ea6fdcc7eb0167b56690d212348'
- 'dbd30435d5f51a92ecef779efa0eabaf56d09a35a18ddd30644d5418beada212')
prepare() {
cd $pkgname-$pkgver
- sed -i 's|.pool.ntp.org|.arch.pool.ntp.org|g' examples/chrony.conf.example
+ sed -i 's|.pool.ntp.org|.arch.pool.ntp.org|g' examples/chrony.conf.example*
}
build() {
@@ -42,7 +38,7 @@
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install install-docs
- install -Dm0644 "$srcdir/$pkgname-$pkgver/examples/chrony.conf.example" "$pkgdir/etc/chrony.conf"
+ install -Dm0644 "$srcdir/$pkgname-$pkgver/examples/chrony.conf.example1" "$pkgdir/etc/chrony.conf"
echo -e "\n# Enable kernel RTC sync\nrtcsync" >> "$pkgdir/etc/chrony.conf"
More information about the arch-commits
mailing list