PKGBUILD 918 B

1234567891011121314151617181920212223242526
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): Rafli Akmal <rafliakmaltejakusuma@gmail.com>
  3. # Contributor (Artix): artoo <artoo@artixlinux.org>
  4. # Contributor (Artix): Oscar Campos <damnwidget@artixlinux.org>
  5. pkgname=openntpd-openrc
  6. pkgver=20210505
  7. pkgrel=3
  8. pkgdesc="OpenRC openntpd init script"
  9. arch=('any')
  10. url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
  11. license=('GPL2')
  12. groups=('openrc-galaxy')
  13. provides=('init-openntpd' 'init-timed')
  14. conflicts=('ntp' 'init-timed' 'init-openntpd')
  15. backup=('etc/conf.d/ntpd')
  16. source=("ntpd".{confd,initd})
  17. sha256sums=('91fb1497b3a6ef0bb3a3d5baefdff801d8ff1cba27aaf742303415550814a09b'
  18. '6aca75ce5a686e4ae5907fa16ca5ea9db43ba28690fb8e581721a22a31b02aaf')
  19. package() {
  20. depends=('openrc' 'openntpd')
  21. install -Dm755 "$srcdir"/ntpd.initd "$pkgdir"/etc/init.d/ntpd
  22. install -Dm644 "$srcdir"/ntpd.confd "$pkgdir"/etc/conf.d/ntpd
  23. }