# Contributor: Milan P. Stanić # Maintainer: Milan P. Stanić pkgname=iwd pkgver=0.20 pkgrel=0 pkgdesc="Internet Wireless Daemon" url="https://iwd.wiki.kernel.org/" arch="all" license="LGPL-2.1-or-later" makedepends="ell-dev dbus-dev readline-dev linux-headers asciidoc" checkdepends="coreutils" subpackages="$pkgname-doc $pkgname-openrc" source="https://mirrors.edge.kernel.org/pub/linux/network/wireless/$pkgname-${pkgver}.tar.gz dbus-netdev-group.patch doc-dns-resolv-main.conf.patch disable-eapol-test.patch iwd.initd " builddir="$srcdir/$pkgname-${pkgver}" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-external-ell \ --disable-systemd-service \ --enable-sim-hardcoded \ --enable-tools \ --enable-docs make } check() { make check } package() { make DESTDIR="$pkgdir" install install -m750 -d "$pkgdir"/var/lib/$pkgname install -Dm644 doc/main.conf "$pkgdir"/etc/"$pkgname"/main.conf install -m755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname } sha512sums="470bd7045e3aa4dfd421383ad62b32894f3cac3d47831db6c7ca23509b811d65419e22f7b869618b845427b15be1fd5e37ab21dcdc5d919ccbd1ecbbbe63ab36 iwd-0.20.tar.gz 7d3bc26b558ebfd22335b946f09abd5326e885275979c617af7def1468ade23ba7605f3b13aaf91836035c130aaec04be0ff2708a898f3ae835e0eef4e78fa0e dbus-netdev-group.patch 98c711d5df897cbe24033a51277037f15092e57bdd75f62235f34fb6502cd601e6f1f1426ca981fac540550634abb0e39e9a8f04a45c5dfff94ad421adb0a01f doc-dns-resolv-main.conf.patch b3dfb5a2de110a8d6218fc6ec7f8e7690bc2ad130037051867d105aff23031d2340f55ac99f060d97856cb5818df24eb7631dc82dcbc196aa44251b2e5edcf7b disable-eapol-test.patch 1a913fa19a76a18d92b8f44cb5b4b99a64b4e2f7d2b4a486bf1ba2f939aea7dcca772fca91483011ada58aaa3addc29c76ececd708b2187e57f72aa040ac77e6 iwd.initd"