summaryrefslogtreecommitdiff
path: root/extra/ntp/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-15 02:31:42 -0800
committerroot <root@rshg054.dnsready.net>2012-12-15 02:31:42 -0800
commita829a3b1a4b3eefc7adb1d630f071247e79b9f72 (patch)
tree486be176b9303db0602521e1078dff6d5b04fb71 /extra/ntp/PKGBUILD
parent1b9faba25721b73f30e49f0cea9c7346eedd0f73 (diff)
Sat Dec 15 02:25:53 PST 2012
Diffstat (limited to 'extra/ntp/PKGBUILD')
-rw-r--r--extra/ntp/PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/extra/ntp/PKGBUILD b/extra/ntp/PKGBUILD
index 959a9f7bb..e3c7cf366 100644
--- a/extra/ntp/PKGBUILD
+++ b/extra/ntp/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 165511 2012-08-21 15:29:07Z dreisner $
+# $Id: PKGBUILD 173225 2012-12-14 12:00:48Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
pkgname=ntp
pkgver=4.2.6.p5
_realver=4.2.6p5
-pkgrel=11
+pkgrel=12
pkgdesc='Network Time Protocol reference implementation'
url='http://www.ntp.org/'
license=('custom')
@@ -18,15 +18,16 @@ source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz"
'ntpdate'
'ntp.conf'
'ntpd.conf'
- 'logrotate.d'
- 'ntpd.service')
+ 'ntpd.service'
+ 'ntpdate.service')
sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
'4e324e625c1f080b5c028be5092aa71adbf9bd99'
'01394b8a952f5edc85d19df8335eeac3980320f4'
- 'eb1f63814b9adbd3d518e880fa3b38c375f0fe91'
+ 'f6a2292c26a201d9305669e99463fb54e5603b3f'
'4537d1f58b299d463db5048129cb264511474b0b'
- '4f76f7f9ffc8315ff9924f793f272d4f6939b816'
- '25a27cecdb937f48fa7b7c71dcc8b31cdad89306')
+ 'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95'
+ '0cb9dbd285e2e8ac51ff47dee08af69e12a09855'
+)
install=install
@@ -42,7 +43,7 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-$_realver"
+ cd "${srcdir}/${pkgname}-${_realver}"
make DESTDIR="${pkgdir}" install
@@ -52,8 +53,8 @@ package() {
install -Dm755 ../ntpdate "${pkgdir}"/etc/rc.d/ntpdate
install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf
install -Dm644 ../ntpd.conf "${pkgdir}"/etc/conf.d/ntpd.conf
- install -Dm644 ../logrotate.d "${pkgdir}"/etc/logrotate.d/ntpd
install -Dm644 ../ntpd.service "${pkgdir}"/usr/lib/systemd/system/ntpd.service
+ install -Dm644 ../ntpdate.service "${pkgdir}"/usr/lib/systemd/system/ntpdate.service
install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd html
@@ -62,6 +63,6 @@ package() {
mv man/man* "${pkgdir}"/usr/share/man
mv "${pkgdir}/usr/share/man/man8/ntpd.8" "${pkgdir}/usr/share/man/man8/ntp-ntpd.8" # we should ditch openntpd
- install -dm755 "$pkgdir/usr/lib/systemd/ntp-units.d"
- echo "ntpd.service" > "$pkgdir/usr/lib/systemd/ntp-units.d/$pkgname.list"
+ install -dm755 "${pkgdir}/usr/lib/systemd/ntp-units.d"
+ echo 'ntpd.service' > "${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list"
}