# SliTaz package receipt.

PACKED_SIZE="472.0K"
UNPACKED_SIZE="1.9M"
PACKAGE="slitaz-icons-faenza"
VERSION="1.3.1"
CATEGORY="customization"
SHORT_DESC="SliTaz icon set based on the Faenza icons"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL3"
WEB_SITE="http://www.slitaz.org/"

WANTED="faenza-icon-theme"
BUILD_DEPENDS="make-slitaz-icons"

# Rules to compile and makethe package.
compile_rules() {
	mksit.sh \
		-f $install/usr/share/icons/Faenza \
		-t $fs/usr/share/icons/SliTaz-Faenza \
		-opmax -nocolor
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	f="$fs/usr/share/icons/SliTaz-Faenza"
	cp -f $stuff/start-here-slitaz-48.png $f/48x48/places/start-here.png
	cp  $stuff/view-filter.png $stuff/view-sidetree.png $f/16x16/actions
	# Use 16x16 icon on 22x22 canvas:
	cp  $stuff/avatar-default.png $f/22x22/status

	for i in 16x16 48x48;do
		cd $f/$i/categories
		mv applications-science.png applications-education.png
		cp $stuff/applications-science_$i.png applications-science.png
	done

}
