1DESCRIPTION = "An icon theme for Gnome"
2SECTION = "x11/wm"
3LICENSE = "GPL-3.0-only"
4HOMEPAGE = "http://code.google.com/p/faenza-icon-theme/"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7inherit allarch gtk-icon-cache
8
9S = "${WORKDIR}"
10
11SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${BPN}/${BPN}_${PV}.zip"
12SRC_URI[sha256sum] = "d4486fda0413f8a81a87e0dd2329f50f2a8a7cb4147b48cf147f0160add8174a"
13
14do_install() {
15    install -d ${D}${datadir}/icons
16    for theme in `find -name 'Faenza*.tar.gz'`; do
17        tar -xf ${theme} -C ${D}${datadir}/icons
18    done
19    tar -xf emesene-faenza-theme.tar.gz -C ${D}${datadir}
20    mv -f ${D}${datadir}/emesene/themes ${D}${datadir}/themes
21    rm -rf ${D}${datadir}/emesene
22    chown -R root:root ${D}${datadir}
23}
24
25FILES:${PN} += "${datadir}/icons ${datadir}/themes"
26