#Packager: George Vlahavas pkgname=kawaiki-icon-theme pkgver=0.9.6 pkgrel=1gv arch=noarch source=("https://github.com/limbusdev/kawaiki/raw/master/Kawaiki-Icon-Theme.tar.gz") docs=("readme.md" "install" "copying" "license" "authors" "news" "todo") url=https://github.com/limbusdev/kawaiki doinst() { if [ -x /usr/bin/gtk-update-icon-cache ]; then for theme_dir in usr/share/icons/Kawaiki-* ; do /usr/bin/gtk-update-icon-cache -t -f ${theme_dir} 1> /dev/null 2> /dev/null & done fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "kawaiki-icon-theme (the Kawaiki icon theme)" "The Kawaiki icon theme is a beautiful icon theme which meets the" "criteria of being consistent, but still giving you unique beauty with" "great detail for your desktop." ) build() { cd $startdir/src/Kawaiki-Icon-Theme mkdir -p $startdir/pkg/usr/share/icons/ # remove dangling symlinks, apparently there are lots of them find ./ -xtype l -delete # copy all themes cp -r Kawaiki-* $startdir/pkg/usr/share/icons/ # Xfce customization for the battery icons cp -r XFCE/status $startdir/pkg/usr/share/icons/Kawaiki-Only/ # inherit mate-icon-theme instead of gnome-icon-theme sed -i "/^Inherits/s/gnome/mate/" $startdir/pkg/usr/share/icons/Kawaiki-Only/index.theme }