wok-next annotate slim-theme-mascot/receipt @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | 0a411c8beacd |
children | e7e7475e84c9 |
rev | line source |
---|---|
al@20412 | 1 # SliTaz package receipt v2. |
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@14601 | 10 |
al@20412 | 11 BUILD_DEPENDS="rsvg-convert" |
al@20412 | 12 COOKOPTS="!pngquant" |
al@14601 | 13 |
al@20412 | 14 compile_rules() { |
al@20412 | 15 theme="$install/usr/share/slim/themes/mascot" |
al@20412 | 16 mkdir -p $theme |
al@20412 | 17 |
al@20412 | 18 # convert vector art to bitmap |
al@20412 | 19 rsvg-convert $stuff/slitaz_spider.svg -o $theme/panel.png |
al@20412 | 20 |
al@20412 | 21 # link SLiM background to SliTaz desktop background; system is almost here... |
al@20412 | 22 cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg |
al@20412 | 23 |
al@20412 | 24 cp $stuff/slim.theme $theme |
al@14601 | 25 } |
al@14601 | 26 |
al@20412 | 27 genpkg_rules() { |
al@20412 | 28 copy @std |
al@20412 | 29 DEPENDS="slim slitaz-configs-base" |
al@14601 | 30 } |
al@14601 | 31 |
al@20412 | 32 post_install() { |
pascal@17552 | 33 chroot "$1/" slim-theme -smascot |
al@14601 | 34 } |
al@14601 | 35 |
al@20412 | 36 pre_remove() { |
pascal@17552 | 37 chroot "$1/" slim-theme -fmascot |
al@14601 | 38 } |