iwd: use make_dirs instead of creating .empty.
This commit is contained in:
parent
53432ef9e9
commit
4b15b4c60a
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'iwd'
|
# Template file for 'iwd'
|
||||||
pkgname=iwd
|
pkgname=iwd
|
||||||
version=0.7
|
version=0.7
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-systemd-service --enable-docs --enable-pie"
|
configure_args="--disable-systemd-service --enable-docs --enable-pie"
|
||||||
hostmakedepends="asciidoc pkg-config"
|
hostmakedepends="asciidoc pkg-config"
|
||||||
|
@ -14,12 +14,10 @@ license="LGPL-2.1-or-later"
|
||||||
homepage="https://iwd.wiki.kernel.org/"
|
homepage="https://iwd.wiki.kernel.org/"
|
||||||
distfiles="${KERNEL_SITE}/network/wireless/iwd-${version}.tar.xz"
|
distfiles="${KERNEL_SITE}/network/wireless/iwd-${version}.tar.xz"
|
||||||
checksum=eddea0b002014c3f890db46968a54f0b45667975436fd99e4aa14ab9a49fd410
|
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() {
|
post_install() {
|
||||||
vmkdir etc/iwd
|
|
||||||
touch "${DESTDIR}"/etc/iwd/.empty
|
|
||||||
|
|
||||||
vsconf doc/main.conf
|
vsconf doc/main.conf
|
||||||
vsv iwd
|
vsv iwd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue