summaryrefslogtreecommitdiff
path: root/nonsystemd/wpa_supplicant-openrc/PKGBUILD
blob: 042de615c18a0404ec88c00ae281233f4e6091df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: artoo <artoo@artixlinux.org>

pkgname=wpa_supplicant-openrc
pkgver=20210505
pkgrel=1
pkgdesc="OpenRC wpa_supplicant init script"
arch=('any')
url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
license=('GPL2')
groups=('openrc-system')
provides=('init-wpa_supplicant')
depends=('openrc' 'wpa_supplicant')
conflicts=('init-wpa_supplicant')
backup=('etc/conf.d/wpa_supplicant')
source=("wpa_supplicant.confd"
        "wpa_supplicant.initd"
        "wpa_cli.sh")
sha256sums=('27833f60a091464612e74e6171cc98c3e3f994e2fde0ccc4535dd0d84ed041fa'
            '7789b54cabb7317d9368531f4832ae7b256e26ce0e5ac7ab8d0a251ade18342a'
            '300d0b54280c2582e74f78087edad3b0da19b9e4e0440f7f320f523a46da8373')

package() {
    install -Dm755 "${srcdir}"/wpa_supplicant.initd "${pkgdir}"/etc/init.d/wpa_supplicant
    install -Dm644 "${srcdir}"/wpa_supplicant.confd "${pkgdir}"/etc/conf.d/wpa_supplicant

    install -Dm755 "${srcdir}"/wpa_cli.sh "${pkgdir}"/etc/wpa_supplicant/wpa_cli.sh
}