PKGBUILD 754 B

12345678910111213141516171819202122232425
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): artoo <artoo@artixlinux.org>
  3. pkgname=openssh-openrc
  4. pkgver=20210505
  5. pkgrel=1
  6. pkgdesc="OpenRC openssh init script"
  7. arch=('any')
  8. url="https://github.com/artix-linux/packages"
  9. license=('GPL2')
  10. groups=('openrc-system')
  11. provides=('init-openssh')
  12. conflicts=('init-openssh')
  13. backup=('etc/conf.d/sshd')
  14. source=("sshd.confd"
  15. "sshd.initd")
  16. sha256sums=('d0abc00305e255eb8962e5e47dfd332ad5935a4acbae89cc28c0bd167cc0f5d6'
  17. 'a41a2dd450ce59f61e0cc0335d556eead4439001d70e213e6e732fcdc01138dc')
  18. package() {
  19. depends=('openrc' 'openssh')
  20. install -Dm755 "${srcdir}"/sshd.initd "${pkgdir}"/etc/init.d/sshd
  21. install -Dm644 "${srcdir}"/sshd.confd "${pkgdir}"/etc/conf.d/sshd
  22. }