wok annotate slim-theme-mascot/receipt @ rev 20248
Up alsa (1.1.5) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 15:28:31 2018 +0100 (2018-03-12) |
parents | 0a411c8beacd |
children |
rev | line source |
---|---|
al@14601 | 1 # SliTaz package receipt. |
al@14601 | 2 |
al@14601 | 3 PACKAGE="slim-theme-mascot" |
al@14601 | 4 VERSION="20130527" |
al@19169 | 5 CATEGORY="customization" |
al@14601 | 6 SHORT_DESC="Mascot (SliTaz 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@19958 | 10 COOKOPTS="!pngquant" |
al@14601 | 11 |
al@14601 | 12 DEPENDS="slim slitaz-configs-base" |
al@14601 | 13 BUILD_DEPENDS="inkscape optipng" |
al@14601 | 14 |
al@14601 | 15 # Rules to configure and make the package. |
al@14601 | 16 compile_rules() |
al@14601 | 17 { |
al@19958 | 18 theme=$install/usr/share/slim/themes/mascot |
al@19958 | 19 mkdir -p $theme |
al@19958 | 20 |
al@19958 | 21 cp -a $stuff/slim.theme $theme |
al@19958 | 22 |
al@19958 | 23 inkscape -f $stuff/slitaz_spider.svg -e $theme/panel.png |
al@19958 | 24 |
al@19958 | 25 # link SLiM background to SliTaz desktop background; |
al@19958 | 26 # system is almost here... |
al@19958 | 27 cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg |
al@14601 | 28 } |
al@14601 | 29 |
al@14601 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14601 | 31 genpkg_rules() |
al@14601 | 32 { |
al@19958 | 33 cp -a $install/* $fs |
al@14601 | 34 } |
al@14601 | 35 |
al@14601 | 36 post_install() |
al@14601 | 37 { |
pascal@17552 | 38 chroot "$1/" slim-theme -smascot |
al@14601 | 39 } |
al@14601 | 40 |
al@14601 | 41 pre_remove() |
al@14601 | 42 { |
pascal@17552 | 43 chroot "$1/" slim-theme -fmascot |
al@14601 | 44 } |