# SliTaz package receipt. PACKAGE="slim-theme-mascot" VERSION="20130527" CATEGORY="customization" SHORT_DESC="Mascot (SliTaz Spider) - theme for SLiM" MAINTAINER="al.bobylev@gmail.com" LICENSE="CC-BY" WEB_SITE="http://www.slitaz.org/" COOKOPTS="!pngquant" DEPENDS="slim slitaz-configs-base" BUILD_DEPENDS="inkscape optipng" # Rules to configure and make the package. compile_rules() { theme=$install/usr/share/slim/themes/mascot mkdir -p $theme cp -a $stuff/slim.theme $theme inkscape -f $stuff/slitaz_spider.svg -e $theme/panel.png # link SLiM background to SliTaz desktop background; # system is almost here... cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs } post_install() { chroot "$1/" slim-theme -smascot } pre_remove() { chroot "$1/" slim-theme -fmascot }