PKGBUILD 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): artoo <artoo@artixlinux.org>
  3. pkgname=lm_sensors-openrc
  4. pkgver=20210505
  5. pkgrel=2
  6. pkgdesc="OpenRC lm_sensors init script"
  7. arch=('any')
  8. url="https://github.com/artix-linux/packages"
  9. license=('GPL2')
  10. groups=('openrc-world')
  11. provides=('init-lm_sensors')
  12. conflicts=('init-lm_sensors')
  13. backup=('etc/conf.d/sensord'
  14. 'etc/conf.d/fancontrol'
  15. 'etc/conf.d/lm_sensors')
  16. source=("sensord".{confd,initd}
  17. "fancontrol".{confd,initd}
  18. "lm_sensors".{confd,initd})
  19. sha256sums=('0ce54c9c9055165ed87a348fa6a967a62ee228a0e1a42193bb577cd47d6cb0b0'
  20. 'c2555624a5fc3776127d646d16c16ad5acf2e7e6bbc341dc1ed315557bd68d4f'
  21. 'edffd2c89102a02e576dfa20d9c49a3e10f1f3b747e843fca63a8fe49c0a60ed'
  22. '66caa430fc2e01c3106eb3f97e9ebb74f070d33ef88a3029dc8714b1e4690299'
  23. '148c840ba5e701f6983bba2ebae6a087e8bf3e2b8276f09bc03ae3eadc011220'
  24. '2bef0fc5ef25ba9035d190ae5c6b785eacf62a85c8c49f2e895bab26c9d2e759')
  25. package() {
  26. depends=('openrc' 'lm_sensors')
  27. for _i in sensord fancontrol lm_sensors ; do
  28. install -Dm755 "$srcdir/$_i.initd" "$pkgdir/etc/init.d/$_i"
  29. install -Dm644 "$srcdir/$_i.confd" "$pkgdir/etc/conf.d/$_i"
  30. done
  31. }