wok view slitaz-icons-faenza-dark/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
parents 00bc29258990
children 526e82fe0471
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-icons-faenza-dark"
4 VERSION="1.3"
5 CATEGORY="customization"
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 }