wok annotate slitaz-icons-faenza-dark/receipt @ rev 25037

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