aboutsummaryrefslogtreecommitdiffstats
path: root/main/chrony
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-03-28 17:11:31 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-03-28 22:13:02 +0200
commit3a1cdf6f70502b14b993ce901cff76aaca42e3ac (patch)
treed3597b8e787c6cecfd9a594fdb14824ece88ddec /main/chrony
parent54c4e4f4bed407cc8603ce36bb8a19fda584dc30 (diff)
downloadaports-3a1cdf6f70502b14b993ce901cff76aaca42e3ac.tar.bz2
aports-3a1cdf6f70502b14b993ce901cff76aaca42e3ac.tar.xz
main/chrony: create doc folder before installing examples
Diffstat (limited to 'main/chrony')
-rw-r--r--main/chrony/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD
index 0ae94b1228..977e5af043 100644
--- a/main/chrony/APKBUILD
+++ b/main/chrony/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=chrony
pkgver=3.1
-pkgrel=0
+pkgrel=1
_ver=${pkgver/_/-}
pkgdesc="NTP client and server programs"
url="https://chrony.tuxfamily.org/"
@@ -58,7 +58,8 @@ package() {
mkdir -p "$pkgdir"/etc/logrotate.d
install -Dm644 "$srcdir"/chrony.logrotate "$pkgdir"/etc/logrotate.d/chrony || return 1
- install -Dm644 examples/*.example "$pkgdir"/usr/share/doc/chrony/
+ mkdir -p "$pkgdir"/usr/share/doc/chrony
+ install -m644 examples/*.example "$pkgdir"/usr/share/doc/chrony/
install -Dm755 "$srcdir"/chronyd.initd "$pkgdir"/etc/init.d/chronyd
install -Dm644 "$srcdir"/chronyd.confd "$pkgdir"/etc/conf.d/chronyd