wok-6.x view faenza-icon-theme/receipt @ rev 22719
updated ffmpeg-compat and ffmpeg-compat-dev (0.10.12 -> 4.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 22 17:06:31 2020 +0100 (2020-01-22) |
parents | 40fab26c175d |
children | 0bd1d2cc2359 |
line source
1 # SliTaz package receipt.
3 PACKAGE="faenza-icon-theme"
4 VERSION="1.3.1"
5 CATEGORY="customization"
6 SHORT_DESC="Faenza icon theme."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://deviantart.com/tiheum/art/Faenza-Icons-173323228"
11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
12 WGET_URL="http://dl.dropbox.com/u/9966975/$TARBALL"
13 WGET_URL="http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/$PACKAGE/$TARBALL"
15 DEPENDS=""
17 HOST_ARCH="any"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p $install/usr/share/icons
23 cd $install/usr/share/icons
24 # tar xf $src/Faenza.tar.gz
25 # tar xf $src/Faenza-Dark.tar.gz
26 # tar xf $src/Faenza-Darkest.tar.gz
27 # tar xf $src/Faenza-Darker.tar.gz
28 cp $src/Faenza .
29 cp $src/Faenza-Dark .
30 cp $src/Faenza-Darker .
31 cp $src/Faenza-Darkest .
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
39 # remove big sizes and scalable
40 rm -rf $(find $fs -type d -regex '.*/\(64\|96\|scalable\)')
42 # remove emblems and extras
43 rm -rf $(find $fs -type d -regex '.*/\(emblems\|extras\)')
44 # sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
46 for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker
47 do
48 cp -f $stuff/${name}-index.theme \
49 $fs/usr/share/icons/${name}/index.theme
50 done
51 }
53 qtfix='/usr/share/icons/hicolor/index.theme'
55 post_install()
56 {
57 [ -s "$1$qtfix" ] &&
58 sed '/Inherits=/s|=.*$|=Faenza|' -i "$1$qtfix"
59 :
60 }
62 pre_remove()
63 {
64 [ -s "$1$qtfix" ] &&
65 sed '/Inherits=/s|=.*$|=SliTaz-Faenza|' -i "$1$qtfix"
66 :
67 }