PKGBUILD 739 B

123456789101112131415161718192021222324
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): artoo <artoo@artixlinux.org>
  3. pkgname=rsync-openrc
  4. pkgver=20210502
  5. pkgrel=1
  6. pkgdesc="OpenRC rsync init script"
  7. arch=('any')
  8. url="https://gitea.artixlinux.org/packages-openrc"
  9. license=('GPL2')
  10. groups=('openrc-world')
  11. provides=('init-rsync')
  12. conflicts=('init-rsync')
  13. backup=('etc/conf.d/rsyncd')
  14. source=("rsyncd".{confd,initd})
  15. sha256sums=('de758791b16b89a648c01867af7f51bc9bd44e40cbe868e439b753ff5d9572e5'
  16. '2570e13ed4e88d8f4526a6e33b1f8fa07c655a86012b09607247609951c9161c')
  17. package() {
  18. depends=('openrc' 'rsync')
  19. install -Dm755 "$srcdir"/rsyncd.initd "$pkgdir"/etc/init.d/rsyncd
  20. install -Dm644 "$srcdir"/rsyncd.confd "$pkgdir"/etc/conf.d/rsyncd
  21. }