wok view faenza-icon-theme/receipt @ rev 21524

updated ncdu (1.13 -> 1.14)
author Hans-G?nter Theisgen
date Fri May 03 17:30:38 2019 +0100 (2019-05-03)
parents 2282cb3628dd
children 43b795dec9b1
line source
1 # SliTaz package receipt.
3 PACKAGE="faenza-icon-theme"
4 VERSION="1.3"
5 CATEGORY="customization"
6 SHORT_DESC="Faenza icon theme"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="${PACKAGE}_$VERSION.zip"
10 WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
11 WGET_URL="http://dl.dropbox.com/u/9966975/$TARBALL"
12 HOST_ARCH="any"
14 DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $install/usr/share/icons
20 cd $install/usr/share/icons
21 tar xf $src/Faenza.tar.gz
22 tar xf $src/Faenza-Dark.tar.gz
23 tar xf $src/Faenza-Darkest.tar.gz
24 tar xf $src/Faenza-Darker.tar.gz
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 # remove big sizes and scalable
32 rm -rf $(find $fs -type d -regex '.*/\(64\|96\|scalable\)')
33 # remove emblems and extras
34 rm -rf $(find $fs -type d -regex '.*/\(emblems\|extras\)')
35 # sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
37 for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do
38 cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme
39 done
40 }
42 qtfix='/usr/share/icons/hicolor/index.theme'
44 post_install()
45 {
46 [ -s "$1$qtfix" ] &&
47 sed '/Inherits=/s|=.*$|=Faenza|' -i "$1$qtfix"
48 :
49 }
51 pre_remove()
52 {
53 [ -s "$1$qtfix" ] &&
54 sed '/Inherits=/s|=.*$|=SliTaz-Faenza|' -i "$1$qtfix"
55 :
56 }