SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "slitaz-configs"

# SliTaz package receipt.

PACKAGE="slitaz-configs"
VERSION="4.9.2"
CATEGORY="base-system"
SHORT_DESC="SliTaz config files, wallpaper and login sound."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.slitaz.org/"
WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.gz"

DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
transset-df lxtask lxpanel lxappearance ttf-dejavu pcmanfm slitaz-tools-boxes \
clearlooks slim"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{    
    # Copy rootfs files from the stuff and set permissions.
    mkdir -p $fs/etc/xdg/openbox
    for f in menu.en.xml menu.xml autostart.sh rc.xml
    do
        cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
    done
    cp -a $src/rootfs/etc/lxpanel $fs/etc
    chown -R root.root $fs
}

post_install()
{
    # By default slim provide a base theme and config file have both
    # base and slitaz who will be choose randomly, so make sure we use
    # only slitaz theme.
    if grep -q 'current_theme       slitaz,base' $1/etc/slim.conf; then
        sed -i s/"current_theme .*"/"current_theme       slitaz"/ \
            $1/etc/slim.conf
    fi
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)