wok-next annotate slim-theme-mascot/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents e7e7475e84c9
children
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@21051 10 HOST_ARCH="any"
al@14601 11
al@20412 12 BUILD_DEPENDS="rsvg-convert"
al@21081 13 DEPENDS="slim slitaz-configs-base"
al@21081 14
al@20412 15 COOKOPTS="!pngquant"
al@14601 16
al@20412 17 compile_rules() {
al@20412 18 theme="$install/usr/share/slim/themes/mascot"
al@20412 19 mkdir -p $theme
al@20412 20
al@20412 21 # convert vector art to bitmap
al@20412 22 rsvg-convert $stuff/slitaz_spider.svg -o $theme/panel.png
al@20412 23
al@20412 24 # link SLiM background to SliTaz desktop background; system is almost here...
al@20412 25 cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
al@20412 26
al@20412 27 cp $stuff/slim.theme $theme
al@14601 28 }
al@14601 29
al@20412 30 post_install() {
pascal@17552 31 chroot "$1/" slim-theme -smascot
al@14601 32 }
al@14601 33
al@20412 34 pre_remove() {
pascal@17552 35 chroot "$1/" slim-theme -fmascot
al@14601 36 }