PKGBUILD 1.0 KB

12345678910111213141516171819202122232425262728
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (artix): artoo <artoo@artixlinux.org>
  3. pkgname=networkmanager-openrc
  4. pkgver=20210505
  5. pkgrel=6
  6. pkgdesc="OpenRC networkmanager init script"
  7. arch=('any')
  8. url="https://gitea.artixlinux.org/packagesN/networkmanager-openrc"
  9. license=('GPL2')
  10. groups=('openrc-world')
  11. provides=('init-networkmanager')
  12. conflicts=('init-networkmanager')
  13. backup=('etc/conf.d/NetworkManager')
  14. source=("NetworkManager".{initd,confd}
  15. '10-openrc-status')
  16. sha256sums=('eaf7d210540ed9f4c6b4ba81ddbb30a2aa5ce8b528057f7d64ce3478981f88e4'
  17. '4594573f01fe5e04b6dde4525796acf909158591bdcefd662ec23fe0d1c3e1bd'
  18. 'd32a21c0683cf7a09370b35b7e3d3b3f28f5d4d242ecde2c866cfb400b94bcbe')
  19. package() {
  20. depends=('openrc' 'networkmanager')
  21. install -Dm755 "${srcdir}"/NetworkManager.initd "${pkgdir}"/etc/init.d/NetworkManager
  22. install -Dm644 "${srcdir}"/NetworkManager.confd "${pkgdir}"/etc/conf.d/NetworkManager
  23. install -Dm755 "${srcdir}"/10-openrc-status "${pkgdir}"/etc/NetworkManager/dispatcher.d/10-openrc-status
  24. }