wok-next annotate slim-theme-cat/receipt @ rev 20944
Fix versions to follow some uniform way
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 31 01:31:07 2018 +0300 (2018-08-31) |
parents | 0a411c8beacd |
children | e7e7475e84c9 |
rev | line source |
---|---|
al@20412 | 1 # SliTaz package receipt v2. |
al@14601 | 2 |
al@14601 | 3 PACKAGE="slim-theme-cat" |
al@20412 | 4 VERSION="20180107" |
al@19169 | 5 CATEGORY="customization" |
al@14601 | 6 SHORT_DESC="Cat and 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/cat_and_spider" |
al@20412 | 16 mkdir -p $theme |
al@20412 | 17 |
al@20412 | 18 # convert vector art to bitmap |
al@20412 | 19 rsvg-convert $stuff/cat_and_spider.svg -o $theme/panel.png |
al@20412 | 20 |
al@20412 | 21 cp $stuff/slim.theme $stuff/background.jpg $theme |
al@14601 | 22 } |
al@14601 | 23 |
al@20412 | 24 genpkg_rules() { |
al@20412 | 25 copy @std |
al@20412 | 26 DEPENDS="slim slitaz-configs-base" |
al@14601 | 27 } |
al@14601 | 28 |
al@20412 | 29 post_install() { |
pascal@17552 | 30 chroot "$1/" slim-theme -s cat_and_spider |
al@14601 | 31 } |
al@14601 | 32 |
al@20412 | 33 pre_remove() { |
pascal@17552 | 34 chroot "$1/" slim-theme -fcat_and_spider |
al@14601 | 35 } |