#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=iwd pkgver=2.7 pkgrel=01 pkgdesc='Internet Wireless Daemon w/o systemd' url='https://git.kernel.org/cgit/network/wireless/iwd.git/' depends=('glibc' 'readline' 'libreadline.so' 'ell' 'gcc-libs') makedepends=('python-docutils' 'dbus') optdepends=('qrencode: for displaying QR code after DPP is started') source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign}) # https://mirrors.edge.kernel.org/pub/linux/network/wireless/sha256sums.asc changelog=ChangeLog install=iwd.install build() { cd ${pkgname}-${pkgver} dbus-run-session ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/iwd \ --disable-systemd-service \ --enable-external-ell \ --enable-wired \ --enable-ofono \ --enable-hwsim \ --disable-tools make # --disable-dbus-policy \ } check() { cd ${pkgname}-${pkgver} # pass broken tests - should reported upstream # One test fail because we need kernel capabilities that # we don't have inside of systemd-nspawn # this could only be fixed via changing our build environment # make -k check || /bin/true make -k check } package() { cd ${pkgname}-${pkgver} make install DESTDIR="${pkgdir}" install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}" } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('LGPL') validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') sha256sums=(289ff47a76fb854e7789c45c5e3e0f15de4adc5fd2e82e47ab08e3564d8961d9 # iwd-2.7.tar.xz 74808d6197301511beb09adf1cdfa933f5d5a1b889ccf9b42222aca18ed7d265) # iwd-2.7.tar.sign ## 7b5293c5e3896eca5623ceff209ac28c8b176e3587a4c74fc8539f167b33063f iwd-2.7-01-x86_64.pkg.tar.lz