PKGBUILD 814 B

12345678910111213141516171819202122232425
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): artoo <artoo@artixlinux.org>
  3. pkgname=elogind-openrc
  4. pkgver=20210704
  5. pkgrel=1
  6. pkgdesc="OpenRC elogind init script"
  7. arch=('any')
  8. url="https://gitea.artixlinux.org/packagesE/elogind-openrc"
  9. license=('GPL2')
  10. provides=('init-logind' 'init-elogind')
  11. conflicts=('init-logind' 'init-elogind')
  12. source=(#"elogind.confd"
  13. "elogind.sv.initd")
  14. sha256sums=('b4097e85f81f37d8529eb57563813e94b7c7afb9931d892907d805093187761b')
  15. package() {
  16. depends=('elogind' 'dbus-openrc')
  17. # install -Dm755 "${srcdir}"/elogind.confd "${pkgdir}"/etc/conf.d/elogind
  18. install -Dm755 "${srcdir}"/elogind.sv.initd "${pkgdir}"/etc/init.d/elogind
  19. install -d "${pkgdir}"/etc/runlevels/boot
  20. ln -sf /etc/init.d/elogind "${pkgdir}"/etc/runlevels/boot/elogind
  21. }