abinfo "Creating theme installation directory ..."
mkdir -pv "$PKGDIR"/usr/share/icewm/themes

for theme in * ; do
    if [ -d $theme -a $theme != "debian" -a $theme != "abdist" ] ; then
	abinfo "Installing theme: $theme ..."
	cp -av "$SRCDIR"/$theme "$PKGDIR"/usr/share/icewm/themes/
    fi
done

abinfo "Fixing up permissions ..."
find "${PKGDIR}" -type d -exec chmod -v 755 {} \;
find "${PKGDIR}" -type f -exec chmod -v 644 {} \;
