[arch-commits] Commit in iwd/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Mon May 21 20:10:55 UTC 2018


    Date: Monday, May 21, 2018 @ 20:10:54
  Author: shibumi
Revision: 326615

upgpkg: iwd 0.2-2

This Release provides a new iwd at .service file that will properly
autostart.

Usage:

systemctl enable iwd@<your wifi interface>.service --now

Modified:
  iwd/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-21 20:04:20 UTC (rev 326614)
+++ PKGBUILD	2018-05-21 20:10:54 UTC (rev 326615)
@@ -2,15 +2,17 @@
 
 pkgname=iwd
 pkgver=0.2
-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')
-source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign})
+source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign}
+				'iwd at .service')
 sha512sums=('f4d038ad9aaef51c352be1bb638d4495be888ed3c6b63c5d321be4d4f1ed17eb01f311872ce70fa2a56c37355a7151163426b5e483df5aec8ade2ac72ac1b3a8'
-            'SKIP')
+            'SKIP'
+						'SKIP')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
 
 build() {
@@ -18,7 +20,8 @@
 	./configure --prefix=/usr \
 	--sysconfdir=/etc \
 	--libexecdir=/usr/lib/iwd \
-	--localstatedir=/var
+	--localstatedir=/var \
+	--disable-optimization --enable-debug
   make
 }
 
@@ -25,6 +28,8 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make install DESTDIR="${pkgdir}"
+	rm "${pkgdir}/usr/lib/systemd/system/iwd.service"
+	install -Dm644 "${srcdir}/iwd at .service" "${pkgdir}/usr/lib/systemd/system/iwd at .service"
 }
 
 # vim: set ts=2 sw=2 ft=sh noet:



More information about the arch-commits mailing list