wok-current view slitaz-icons-faenza-dark/receipt @ rev 18802

syslinux/iso2exe.sh: fix clear_custom_config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 12 15:40:40 2016 +0100 (2016-01-12)
parents 5e26ab6bd360
children a3a6d7f1c72f
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-icons-faenza-dark"
4 VERSION="1.3"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz icon set based on the Faenza-Dark icons"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 WANTED="faenza-icon-theme"
12 DEPENDS="slitaz-icons-faenza"
13 BUILD_DEPENDS="make-slitaz-icons"
15 # Rules to compile and makethe package.
16 compile_rules() {
17 mksit.sh \
18 -f $install/usr/share/icons/Faenza-Dark \
19 -t $fs/usr/share/icons/SliTaz-Faenza-Dark \
20 -opmax -nocolor
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 f="$fs/usr/share/icons/SliTaz-Faenza-Dark"
28 for i in $(find $f \( -type f -o -type l \)); do
29 bn=$(basename $i .png)
30 if ! grep -q "^$bn$" $stuff/filelist; then
31 rm $i
32 fi
33 done
35 cp -f $f/16x16/apps/system-log-out.png $f/16x16/actions
36 for d in 16x16/status 16x16/apps 48x48; do rm -r $f/$d; done
37 cp -f $stuff/index.theme $f
38 # Use 16x16 icon on 22x22 canvas:
39 cp $stuff/avatar-default.png $f/22x22/status
40 }