[arch-commits] Commit in iwd/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Thu Oct 17 22:41:27 UTC 2019
Date: Thursday, October 17, 2019 @ 22:41:27
Author: shibumi
Revision: 516616
upgpkg: iwd 0.22-2
Apply patch by Andreas Radke
* depend on readline and ell (we can use our packaged ell instead)
* backup /etc/iwd/main.conf
* enable ofono support
* enable sim-hardcoded support
* enable hwsim support
* disable tools
* add checks
* remove for loop for shipping documents (main.conf is in /etc/ now, so not needed anymore)
Modified:
iwd/trunk/PKGBUILD
----------+
PKGBUILD | 31 ++++++++++++++++++++-----------
1 file changed, 20 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-17 22:20:09 UTC (rev 516615)
+++ PKGBUILD 2019-10-17 22:41:27 UTC (rev 516616)
@@ -1,14 +1,16 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
pkgname=iwd
pkgver=0.22
-pkgrel=1
+pkgrel=2
pkgdesc='Internet Wireless Daemon'
arch=('x86_64')
url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
license=('LGPL')
-depends=('glibc')
+depends=('readline' 'ell')
makedepends=('python-docutils')
+backup=(etc/iwd/main.conf)
source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign})
sha512sums=('4fa9f8688a33663aad754a371e9c1c71161f394fc0d7c4a32ce3afe7e00efdca8f55f378a71ab32002bbe73538b1a092bc0f24c19912672d70d6b02fcc824fe0'
'SKIP')
@@ -17,21 +19,28 @@
install=iwd.install
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc \
+ --localstatedir=/var \
--libexecdir=/usr/lib/iwd \
+ --enable-external-ell \
--enable-wired \
- --localstatedir=/var
+ --enable-ofono \
+ --enable-sim-hardcoded \
+ --enable-hwsim \
+ --disable-tools
make
}
+check() {
+ cd ${pkgname}-${pkgver}
+ # pass broken tests - should reported upstream
+ make -k check || /bin/true
+}
+
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make install DESTDIR="${pkgdir}"
- for f in doc/*; do
- install -Dm644 "${f}" "${pkgdir}/usr/share/iwd/doc/$(basename ${f})"
- done
+ install -Dt "$pkgdir/etc/iwd" doc/main.conf
}
-
-# vim: set ts=2 sw=2 ft=sh noet:
More information about the arch-commits
mailing list