wok annotate murrine-svn-themes/receipt @ rev 19110

murrine-svn-themes: remove obsolete options
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 06 14:33:46 2016 +0300 (2016-05-06)
parents bb009a6ef036
children bc5d5781c529
rev   line source
jozee@3026 1 # SliTaz package receipt.
jozee@3026 2
jozee@3026 3 PACKAGE="murrine-svn-themes"
jozee@3026 4 VERSION="0.6.2"
jozee@3026 5 CATEGORY="x-window"
al@19110 6 SHORT_DESC="Some murrine themes"
jozee@3026 7 MAINTAINER="jozee@slitaz.org"
pascal@15583 8 LICENSE="LGPL3"
al@19110 9 WEB_SITE="http://www.cimitan.com/murrine"
al@19110 10
jozee@3026 11 DEPENDS="murrine"
jozee@3026 12
jozee@3026 13 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3026 14 genpkg_rules()
jozee@3026 15 {
jozee@3026 16 mkdir -p $fs/usr/share/themes
jozee@3026 17 tar -xzf stuff/murrine-themes.tar.gz -C $fs/usr/share/themes
al@19110 18
al@19110 19 # Fix warnings:
al@19110 20 # .../gtkrx:*: Murrine configuration option "*" in no longer supported and
al@19110 21 # will be ignored.
al@19110 22 IFS=$'\n' # care about filenames with spaces
al@19110 23 for gtkrc in $(find $fs/usr/share/themes -name gtkrc); do
al@19110 24 sed -i 's|^[ \t]*gradients|#\0|' "$gtkrc"
al@19110 25 sed -i 's|^[ \t]*scrollbar_color|#\0|' "$gtkrc"
al@19110 26 done
jozee@3026 27 }