wok-next annotate slim-theme-cat/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | 0b724e182c2c |
children |
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@21051 | 10 HOST_ARCH="any" |
al@14601 | 11 |
al@20412 | 12 BUILD_DEPENDS="rsvg-convert" |
al@20412 | 13 COOKOPTS="!pngquant" |
al@14601 | 14 |
al@20412 | 15 compile_rules() { |
al@20412 | 16 theme="$install/usr/share/slim/themes/cat_and_spider" |
al@20412 | 17 mkdir -p $theme |
al@20412 | 18 |
al@20412 | 19 # convert vector art to bitmap |
al@20412 | 20 rsvg-convert $stuff/cat_and_spider.svg -o $theme/panel.png |
al@20412 | 21 |
al@20412 | 22 cp $stuff/slim.theme $stuff/background.jpg $theme |
al@14601 | 23 } |
al@14601 | 24 |
al@20412 | 25 genpkg_rules() { |
al@20412 | 26 copy @std |
al@20412 | 27 DEPENDS="slim slitaz-configs-base" |
al@14601 | 28 } |
al@14601 | 29 |
al@20412 | 30 post_install() { |
pascal@17552 | 31 chroot "$1/" slim-theme -s cat_and_spider |
al@14601 | 32 } |
al@14601 | 33 |
al@20412 | 34 pre_remove() { |
pascal@17552 | 35 chroot "$1/" slim-theme -fcat_and_spider |
al@14601 | 36 } |