wok annotate faenza-icon-theme/receipt @ rev 17947
cacerts: remove CNNIC Root Certificate (nothing else changed).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 16 02:08:38 2015 +0300 (2015-04-16) |
parents | 92f6d4a38df0 |
children | b37f3d8e81b6 |
rev | line source |
---|---|
al@13649 | 1 # SliTaz package receipt. |
al@13649 | 2 |
al@13649 | 3 PACKAGE="faenza-icon-theme" |
al@13649 | 4 VERSION="1.3" |
al@13649 | 5 CATEGORY="x-window" |
al@13649 | 6 SHORT_DESC="Faenza icon theme" |
al@13649 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14999 | 8 LICENSE="GPL3" |
al@13649 | 9 TARBALL="${PACKAGE}_$VERSION.zip" |
al@13649 | 10 WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228" |
al@13649 | 11 WGET_URL="http://dl.dropbox.com/u/9966975/$TARBALL" |
al@13649 | 12 |
pascal@14999 | 13 DEPENDS="" |
pascal@14999 | 14 |
al@13649 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13649 | 16 genpkg_rules() |
al@13649 | 17 { |
al@13649 | 18 mkdir -p $fs/usr/share/icons |
al@13649 | 19 cd $fs/usr/share/icons |
al@13649 | 20 tar xf $src/Faenza.tar.gz |
al@13649 | 21 tar xf $src/Faenza-Dark.tar.gz |
al@13649 | 22 tar xf $src/Faenza-Darkest.tar.gz |
al@13649 | 23 tar xf $src/Faenza-Darker.tar.gz |
al@13649 | 24 # remove big sizes and scalable |
al@13649 | 25 rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)') |
al@13649 | 26 # remove emblems and extras |
al@13649 | 27 rm -rf $(find . -type d -regex '.*/\(emblems\|extras\)') |
al@13649 | 28 # sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme |
al@13649 | 29 |
al@13649 | 30 for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do |
al@13649 | 31 cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme |
al@13649 | 32 done |
al@13649 | 33 } |
al@13649 | 34 |
psychomaniak@17231 | 35 qtfix="usr/share/icons/hicolor/index.theme" |
psychomaniak@17231 | 36 |
psychomaniak@17231 | 37 post_install() |
psychomaniak@17231 | 38 { |
pascal@17403 | 39 [ -s $1/$qtfix ] && |
psychomaniak@17231 | 40 sed '/Inherits=/s|=.*$|=Faenza|' -i $1/$qtfix |
psychomaniak@17231 | 41 } |
psychomaniak@17231 | 42 |
psychomaniak@17231 | 43 pre_remove() |
psychomaniak@17231 | 44 { |
pascal@17403 | 45 [ -s $1/$qtfix ] && |
psychomaniak@17231 | 46 sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix |
psychomaniak@17231 | 47 } |