diff --git a/recipes-gtk/nwg-shell/nwg-shell-wallpapers_git.bb b/recipes-gtk/nwg-shell/nwg-shell-wallpapers_git.bb new file mode 100644 index 0000000..df19ac6 --- /dev/null +++ b/recipes-gtk/nwg-shell/nwg-shell-wallpapers_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "A selection of wallpapers contributed to the nwg-shell project." +LICENSE = "CC0-1.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032" + +SRC_URI = "git://github.com/nwg-piotr/nwg-shell-wallpapers.git;protocol=https;nobranch=1" + +S = "${WORKDIR}/git" +PV = "1.0" +SRCREV = "ee904a7beb1e8b7750f50072601fddb3507b0657" + +do_install() { + install -d ${D}${datadir}/backgrounds/sway + for file in ${S}/wallpapers/*; do + install -m 0644 "$file" ${D}${datadir}/backgrounds/sway + done +} + +FILES:${PN} = "${datadir}"