summaryrefslogtreecommitdiff
path: root/community/openntpd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/openntpd/PKGBUILD')
-rw-r--r--community/openntpd/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/openntpd/PKGBUILD b/community/openntpd/PKGBUILD
index 4eafda56d..3e7145661 100644
--- a/community/openntpd/PKGBUILD
+++ b/community/openntpd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 91455 2013-05-22 23:28:35Z seblu $
+# $Id: PKGBUILD 103646 2014-01-08 18:14:53Z bgyorgy $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Mark Rosenstand <mark@borkware.net>
# Contributor: Giorgio Lando <patroclo7@gmail.com> (adjtimex patch)
@@ -6,7 +6,7 @@
pkgname=openntpd
pkgver=3.9p1
-pkgrel=22
+pkgrel=23
pkgdesc='Free, easy to use implementation of the Network Time Protocol.'
url='http://www.openntpd.org/'
arch=('x86_64' 'i686')
@@ -47,8 +47,9 @@ package() {
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$pkgname-$pkgver/LICENCE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENCE"
- sed -i 's/\*/0.0.0.0/' $pkgdir/etc/ntpd.conf
+ sed -i 's/\*/0.0.0.0/' "$pkgdir/etc/ntpd.conf"
+ install -d -o 87 "pkgdir/var/lib/ntp"
install -Dm644 "$srcdir/openntpd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/openntpd.conf"
install -Dm644 "$srcdir/openntpd.service" "$pkgdir/usr/lib/systemd/system/openntpd.service"