SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "slitaz-icon"

# SliTaz package receipt.

PACKAGE="slitaz-icon"
VERSION="1.2"
CATEGORY="misc"
SHORT_DESC="SliTaz icons in size 22x22 and 32x32 (minimum)."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.slitaz.org/"
WGET_URL="http://mirror.slitaz.org/sources/artwok/$TARBALL"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/icons
    cp -a $src/SliTaz $fs/usr/share/icons
    sed -i s'/Name=Faenza/Name=SliTaz/' \
        $fs/usr/share/icons/SliTaz/index.theme
    # We use a new one provided by TazPanel
    rm $fs/usr/share/icons/SliTaz/apps/22/tazpanel.png
    chown -R root.root $fs
}

post_install()
{
    # Default icon theme to SliTaz.
    if [ -f $1/etc/skel/.gtkrc-2.0 ]; then
        sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
    fi
    if readlink $1/usr/share/icons/Tango; then
        rm $1/usr/share/icons/Tango
    fi
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)