azote: add .azotebg file

azote will not work, if it doesn' exist
This commit is contained in:
Markus Volk 2023-02-01 09:31:20 +01:00
parent 39c68cf858
commit 0c50cd6afa

View File

@ -22,7 +22,7 @@ RDEPENDS:${PN} = " \
wlr-randr \ wlr-randr \
" "
inherit setuptools3 inherit setuptools3 main-user
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "1.9.7" PV = "1.9.7"
@ -33,15 +33,18 @@ do_configure:prepend() {
} }
do_install:append() { do_install:append() {
install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications ${D}${MAIN_USER_HOMEDIR}
install -m 755 ${S}/distrib/azote ${D}${bindir} install -m 755 ${S}/distrib/azote ${D}${bindir}
install -m 644 ${S}/distrib/azote.desktop ${D}${datadir}/applications install -m 644 ${S}/distrib/azote.desktop ${D}${datadir}/applications
install -m 644 ${S}/distrib/azote.svg ${D}${datadir}/pixmaps install -m 644 ${S}/distrib/azote.svg ${D}${datadir}/pixmaps
install -m 644 ${S}/distrib/indicator_active.png ${D}${datadir}/azote install -m 644 ${S}/distrib/indicator_active.png ${D}${datadir}/azote
install -m 644 ${S}/distrib/indicator_attention.png ${D}${datadir}/azote install -m 644 ${S}/distrib/indicator_attention.png ${D}${datadir}/azote
touch ${D}${MAIN_USER_HOMEDIR}/.azotebg
chown ${MAIN_USER_NAME}:${MAIN_USER_NAME} -R ${D}${MAIN_USER_HOMEDIR}
} }
FILES:${PN}:append = " \ FILES:${PN}:append = " \
${datadir} \ ${datadir} \
${bindir} \ ${bindir} \
${MAIN_USER_HOMEDIR} \
" "