PKGBUILD 910 B

123456789101112131415161718192021222324252627
  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=syncthing-openrc
  6. pkgver=20210505
  7. pkgrel=1
  8. pkgdesc="OpenRC syncthing init script"
  9. arch=('any')
  10. url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
  11. license=('GPL2')
  12. groups=('openrc-galaxy')
  13. provides=('init-syncthing')
  14. conflicts=('init-syncthing')
  15. backup=('etc/conf.d/syncthing')
  16. source=('syncthing.'{initd,confd})
  17. sha256sums=('966434c75a376b1d3220048a4f4bb75fd0e93db4bd6549ef31109e2a5bc1b572'
  18. '7592b3be5a8adc1e6a8f488797f569e62422956ade8625ca9e43a09bbaf01d7d')
  19. package() {
  20. depends=('openrc' 'syncthing')
  21. cd "$srcdir"
  22. install -Dm755 syncthing.initd "$pkgdir"/etc/init.d/syncthing
  23. install -Dm644 syncthing.confd "$pkgdir"/etc/conf.d/syncthing
  24. }