PKGBUILD 915 B

123456789101112131415161718192021222324252627
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): Rafli Akmal <rafliakmaltejakusuma@gmail.com>
  3. # Contributor (Artix): artoo <artoo@artixlinux.org>
  4. # Contributor (Artix): Oscar Campos <damnwidget@artixlinux.org>
  5. pkgname=hostapd-openrc
  6. pkgver=20210505
  7. pkgrel=1
  8. pkgdesc="OpenRC hostapd init script"
  9. arch=('any')
  10. url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
  11. license=('GPL2')
  12. groups=('openrc-galaxy')
  13. provides=('init-hostapd')
  14. conflicts=('init-hostapd')
  15. backup=('etc/conf.d/hostapd')
  16. source=("hostapd.confd"
  17. "hostapd.initd")
  18. sha256sums=('6c14e88b14bb9a93d2dca69239d829f435e93180e621319aeed0f3987290dfba'
  19. 'f5d32b21e0856b0ffcbe61815640c92b4c22a5bc3ee5afd05e8bd040d2c8dd34')
  20. package() {
  21. depends=('openrc' 'hostapd')
  22. install -Dm755 "$srcdir/hostapd.initd" "$pkgdir/etc/init.d/hostapd"
  23. install -Dm644 "$srcdir/hostapd.confd" "$pkgdir/etc/conf.d/hostapd"
  24. }