68 lines
2.0 KiB
Bash
68 lines
2.0 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=iwd
|
|
pkgver=2.13
|
|
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')
|
|
makedepends=('python-docutils') ## without=> '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=(5c58d0cc7c2c81540a515a7487330468c61615d23031af47be15f694fbfbc8b3 # iwd-2.13.tar.xz
|
|
a2f2b2fc4caab0c4793efe3e2ed19f5544e47b09ded32f7345bfd40d61c9e7e7) # iwd-2.13.tar.sign
|
|
|
|
## 55c42078a825d4b61c5c2968dff1ec3a73cffaf8b6e9fac6283e26caa3b9895d iwd-2.13-01-x86_64.pkg.tar.lz
|
|
|