summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMike Swanson2017-03-23 00:52:05 -0700
committerMike Swanson2017-03-23 00:52:05 -0700
commitec56e9fd240e72d027d251663b96a492e412d480 (patch)
treea88b231844ae99df7334aba074b89124d3461f22 /PKGBUILD
parentc23d607da6e0504cf207cc38b70be0c3bf6dbff1 (diff)
downloadaur-ec56e9fd240e72d027d251663b96a492e412d480.tar.gz
Update for 0.9.7
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 9 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 79d202e0ec0..8f4b9e3d834 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=ntpsec-git
-pkgver=0.9.6.r146.36adfe859
+pkgver=0.9.7.r10.d72507311
pkgrel=1
pkgdesc="Security-hardened Network Time Protocol implementation (Git HEAD)"
arch=('i686' 'x86_64')
url="https://www.ntpsec.org/"
license=('custom')
-depends=('avahi' 'libevent' 'libseccomp' 'python')
+depends=('avahi' 'libseccomp' 'python')
makedepends=('asciidoc' 'git' 'pps-tools' 'w3m')
optdepends=('gnuplot: for ntpviz'
'libevent: for ntpdig'
@@ -15,8 +15,8 @@ optdepends=('gnuplot: for ntpviz'
'ttf-liberation: Improves font quality in ntpviz renderings')
provides=('ntp' 'ntpsec')
conflicts=('ntp' 'ntpsec')
-source=("git+https://gitlab.com/NTPsec/ntpsec")
-sha256sums=('SKIP')
+source=("git+https://gitlab.com/NTPsec/ntpsec.git")
+sha512sums=('SKIP')
validpgpkeys=('DA3FDF774CC70FA64729EC4505D9B371477C7528')
pkgver() {
@@ -34,15 +34,13 @@ prepare() {
patch -p1 -i "$patch"
fi
done
-
- sed -i -e 's/sbin/bin/g' "etc/ntpd.service"
}
build() {
cd "${pkgname%%-git}"
- ./waf configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib \
+ ./waf configure --prefix=/usr --sbindir=/usr/bin \
--enable-debug-gdb --enable-seccomp --refclock=all \
- --sbindir=/usr/bin --enable-doc --htmldir=/usr/share/doc/${pkgname}
+ --enable-doc --htmldir=/usr/share/doc/${pkgname}
./waf build
a2x -f text docs/copyright.txt
}
@@ -56,12 +54,9 @@ package() {
cd "${pkgname%%-git}"
./waf install --destdir="$pkgdir/"
- install -d "$pkgdir/etc/logrotate.d"
- install -d "$pkgdir/usr/lib/systemd/system"
- install -d "$pkgdir/usr/share/licenses/${pkgname}"
- install -m 644 etc/logrotate-config.ntpd "$pkgdir/etc/logrotate.d/ntpd"
- install -m 644 etc/ntpd.service "$pkgdir/usr/lib/systemd/system/ntpd.service"
- install -m 644 docs/copyright.text "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
+ install -Dm 644 etc/logrotate-config.ntpd "$pkgdir/etc/logrotate.d/ntpd"
+ install -Dm 644 etc/ntpd.service "$pkgdir/usr/lib/systemd/system/ntpd.service"
+ install -Dm 644 docs/copyright.text "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
# --mandir, it does nothing!
mv "$pkgdir/usr/man" "$pkgdir/usr/share/man"