wok-next annotate slim-theme-7legs/receipt @ rev 17419
Up: firefox-official (34.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Dec 03 16:53:16 2014 +0100 (2014-12-03) |
parents | d0948455b365 |
children | dfef8de3d270 |
rev | line source |
---|---|
al@14601 | 1 # SliTaz package receipt. |
al@14601 | 2 |
al@14601 | 3 PACKAGE="slim-theme-7legs" |
al@14601 | 4 VERSION="20130527" |
al@14601 | 5 CATEGORY="x-window" |
al@14601 | 6 SHORT_DESC="Seven legged Spider - theme for SLiM" |
al@14601 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14601 | 8 LICENSE="CC-BY" |
al@14601 | 9 WEB_SITE="http://www.slitaz.org/" |
al@14601 | 10 |
al@14601 | 11 DEPENDS="slim slitaz-configs-base" |
al@14601 | 12 BUILD_DEPENDS="inkscape optipng" |
al@14601 | 13 |
al@14601 | 14 # Rules to configure and make the package. |
al@14601 | 15 compile_rules() |
al@14601 | 16 { |
al@14601 | 17 mkdir -p $install |
al@14601 | 18 inkscape -f $stuff/7_legged_spider.svg -e $install/panel.png |
al@14601 | 19 optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 $install/panel.png |
al@14601 | 20 } |
al@14601 | 21 |
al@14601 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14601 | 23 genpkg_rules() |
al@14601 | 24 { |
al@14601 | 25 theme=$fs/usr/share/slim/themes/7_legged_spider |
al@14601 | 26 mkdir -p $theme |
al@14601 | 27 # link SLiM background to SliTaz desktop background; |
al@14601 | 28 # system is almost here... |
al@14601 | 29 cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg |
al@14601 | 30 cp -a $install/panel.png $theme |
al@14601 | 31 cp -a $stuff/slim.theme $theme |
al@14601 | 32 } |
al@14601 | 33 |
al@14601 | 34 post_install() |
al@14601 | 35 { |
al@14601 | 36 slim-theme -s7_legged_spider |
al@14601 | 37 } |
al@14601 | 38 |
al@14601 | 39 pre_remove() |
al@14601 | 40 { |
al@14601 | 41 slim-theme -f7_legged_spider |
al@14601 | 42 } |