diff --git a/srcpkgs/faenza-icon-theme/template b/srcpkgs/faenza-icon-theme/template new file mode 100644 index 00000000000..926704481b8 --- /dev/null +++ b/srcpkgs/faenza-icon-theme/template @@ -0,0 +1,27 @@ +# Template file for 'faenza-icon-theme' +pkgname=faenza-icon-theme +version=1.3.1 +revision=1 +noarch=yes +depends="gtk-update-icon-cache hicolor-icon-theme" +short_desc="Faenza icon theme" +maintainer="Alexander Mamay " +license="GPL-3" +homepage="http://tiheum.deviantart.com/art/Faenza-Icons-173323228" +distfiles="http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/${pkgname}/${pkgname}_${version}.tar.gz" +checksum=afd1c32229989e4cf09733c1ce5f2a651e585d86f45e98e9de6e8813f15d0edc +wrksrc="${pkgname}-${version%.*}" + +do_install() { + vmkdir usr/share/icons + vcopy Faenza* usr/share/icons/ + + for theme in Faenza{,-Dark}; do + cd "${DESTDIR}/usr/share/icons/${theme}/apps/scalable/" + ln -sf gnome-session-reboot.svg system-reboot.svg + for size in 16 22 24 32 48 64 96; do + cd "${DESTDIR}/usr/share/icons/${theme}/apps/${size}/" + ln -sf gnome-session-reboot.png system-reboot.png + done + done +}