wok-current view faenza-icon-theme/receipt @ rev 14999

Add GPL3 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 13:52:56 2013 +0000 (2013-08-10)
parents 4af76cfb62c4
children 92f6d4a38df0
line source
1 # SliTaz package receipt.
3 PACKAGE="faenza-icon-theme"
4 VERSION="1.3"
5 CATEGORY="x-window"
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"
13 DEPENDS=""
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share/icons
19 cd $fs/usr/share/icons
20 tar xf $src/Faenza.tar.gz
21 tar xf $src/Faenza-Dark.tar.gz
22 tar xf $src/Faenza-Darkest.tar.gz
23 tar xf $src/Faenza-Darker.tar.gz
24 # remove big sizes and scalable
25 rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)')
26 # remove emblems and extras
27 rm -rf $(find . -type d -regex '.*/\(emblems\|extras\)')
28 # sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
30 for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do
31 cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme
32 done
33 }