wok-next annotate gtk-clearlooks/receipt @ rev 18303
gvim: move icon, upgrade .desktop file
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 21 13:26:05 2015 +0300 (2015-08-21) |
parents | 912169cf03ab |
children | 9e01bc6321ea |
rev | line source |
---|---|
psychomaniak@17099 | 1 # SliTaz package receipt. |
psychomaniak@17099 | 2 |
psychomaniak@17099 | 3 PACKAGE="gtk-clearlooks" |
psychomaniak@17099 | 4 VERSION="2.20.2" |
psychomaniak@17099 | 5 CATEGORY="x-window" |
psychomaniak@17902 | 6 SHORT_DESC="Updated default GTKengine, with ajustable colors." |
psychomaniak@17099 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@17099 | 8 LICENSE="GPL2" |
psychomaniak@17099 | 9 WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html" |
psychomaniak@17099 | 10 WANTED="gtk-engines" |
psychomaniak@17099 | 11 |
psychomaniak@17099 | 12 DEPENDS="gtk+" |
psychomaniak@17099 | 13 |
psychomaniak@17099 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17099 | 15 genpkg_rules() |
psychomaniak@17099 | 16 { |
psychomaniak@17099 | 17 THEME="usr/share/themes/Clearlooks/gtk-2.0" |
psychomaniak@17099 | 18 ENGINE="usr/lib/gtk-2.0/2.10.0/engines" |
psychomaniak@17099 | 19 XML="usr/share/gtk-engines" |
psychomaniak@17099 | 20 |
psychomaniak@17099 | 21 cd $fs && mkdir -p $THEME $ENGINE $XML |
psychomaniak@17099 | 22 cp -a $install/$ENGINE/libclearlooks.so $fs/$ENGINE |
psychomaniak@17099 | 23 cp -a $install/$THEME/gtkrc $fs/$THEME |
psychomaniak@17099 | 24 cp -a $install/$XML/clearlooks.xml $fs/$XML |
psychomaniak@17099 | 25 |
psychomaniak@17099 | 26 sed -i '/lang/d' $fs/$XML/* |
psychomaniak@17099 | 27 } |
psychomaniak@17902 | 28 |
psychomaniak@17902 | 29 post_install() |
psychomaniak@17902 | 30 { |
psychomaniak@17902 | 31 for t in listviewitemstyle menuitemstyle progressbarstyle sunkenmenubar |
psychomaniak@17902 | 32 do |
psychomaniak@17902 | 33 sed "s/$t/#$t/" -i $1/usr/share/themes/SliTaz*/gtk-2.0/gtkrc |
psychomaniak@17902 | 34 done |
psychomaniak@17902 | 35 } |