PKGBUILD 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): artoo <artoo@artixlinux.org>
  3. pkgname=wpa_supplicant-openrc
  4. pkgver=20210505
  5. pkgrel=1
  6. pkgdesc="OpenRC wpa_supplicant init script"
  7. arch=('any')
  8. url="https://gitea.artixlinux.org/packagesW/wpa_supplicant-openrc"
  9. license=('GPL2')
  10. groups=('openrc-system')
  11. provides=('init-wpa_supplicant')
  12. conflicts=('init-wpa_supplicant')
  13. backup=('etc/conf.d/wpa_supplicant')
  14. source=("wpa_supplicant.confd"
  15. "wpa_supplicant.initd"
  16. "wpa_cli.sh")
  17. sha256sums=('27833f60a091464612e74e6171cc98c3e3f994e2fde0ccc4535dd0d84ed041fa'
  18. '7789b54cabb7317d9368531f4832ae7b256e26ce0e5ac7ab8d0a251ade18342a'
  19. '300d0b54280c2582e74f78087edad3b0da19b9e4e0440f7f320f523a46da8373')
  20. package() {
  21. depends=('openrc' 'wpa_supplicant')
  22. install -Dm755 "${srcdir}"/wpa_supplicant.initd "${pkgdir}"/etc/init.d/wpa_supplicant
  23. install -Dm644 "${srcdir}"/wpa_supplicant.confd "${pkgdir}"/etc/conf.d/wpa_supplicant
  24. install -Dm755 "${srcdir}"/wpa_cli.sh "${pkgdir}"/etc/wpa_supplicant/wpa_cli.sh
  25. }