wok-next view gtk-clearlooks/receipt @ rev 17902

gtk-clearlooks:fix terminal errors with default themes. mc: fix lzma.
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Apr 03 21:04:30 2015 +0200 (2015-04-03)
parents 912169cf03ab
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-clearlooks"
4 VERSION="2.20.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Updated default GTKengine, with ajustable colors."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html"
10 WANTED="gtk-engines"
12 DEPENDS="gtk+"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 THEME="usr/share/themes/Clearlooks/gtk-2.0"
18 ENGINE="usr/lib/gtk-2.0/2.10.0/engines"
19 XML="usr/share/gtk-engines"
21 cd $fs && mkdir -p $THEME $ENGINE $XML
22 cp -a $install/$ENGINE/libclearlooks.so $fs/$ENGINE
23 cp -a $install/$THEME/gtkrc $fs/$THEME
24 cp -a $install/$XML/clearlooks.xml $fs/$XML
26 sed -i '/lang/d' $fs/$XML/*
27 }
29 post_install()
30 {
31 for t in listviewitemstyle menuitemstyle progressbarstyle sunkenmenubar
32 do
33 sed "s/$t/#$t/" -i $1/usr/share/themes/SliTaz*/gtk-2.0/gtkrc
34 done
35 }