iwd: use make_dirs instead of creating .empty.

This commit is contained in:
maxice8 2018-09-02 20:26:45 -03:00
parent 53432ef9e9
commit 4b15b4c60a
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'iwd'
pkgname=iwd
version=0.7
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-systemd-service --enable-docs --enable-pie"
hostmakedepends="asciidoc pkg-config"
@ -14,12 +14,10 @@ license="LGPL-2.1-or-later"
homepage="https://iwd.wiki.kernel.org/"
distfiles="${KERNEL_SITE}/network/wireless/iwd-${version}.tar.xz"
checksum=eddea0b002014c3f890db46968a54f0b45667975436fd99e4aa14ab9a49fd410
make_dirs="/var/lib/iwd 0600 root root"
make_dirs="/var/lib/iwd 0600 root root
/etc/iwd 755 root root"
post_install() {
vmkdir etc/iwd
touch "${DESTDIR}"/etc/iwd/.empty
vsconf doc/main.conf
vsv iwd
}