wok-6.x view gtk-clearlooks/receipt @ rev 18348

Up: mpc-library (1.0.3)
author Alexander Medvedev <devl547@gmail.com>
date Fri Sep 11 19:41:19 2015 +0000 (2015-09-11)
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 }