wok-6.x annotate murrine-svn-themes/receipt @ rev 20042

Add snapper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 29 20:35:56 2017 +0200 (2017-08-29)
parents 887b3b11683d
children eeba7ab1dffe
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"
al@19126 5 CATEGORY="customization"
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@19114 10 HOST_ARCH="any"
al@19110 11
al@19112 12 DEPENDS="gtk2-engine-murrine"
jozee@3026 13
jozee@3026 14 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3026 15 genpkg_rules()
jozee@3026 16 {
jozee@3026 17 mkdir -p $fs/usr/share/themes
jozee@3026 18 tar -xzf stuff/murrine-themes.tar.gz -C $fs/usr/share/themes
al@19110 19
al@19110 20 # Fix warnings:
al@19110 21 # .../gtkrx:*: Murrine configuration option "*" in no longer supported and
al@19110 22 # will be ignored.
al@19110 23 IFS=$'\n' # care about filenames with spaces
al@19110 24 for gtkrc in $(find $fs/usr/share/themes -name gtkrc); do
al@19110 25 sed -i 's|^[ \t]*gradients|#\0|' "$gtkrc"
al@19110 26 sed -i 's|^[ \t]*scrollbar_color|#\0|' "$gtkrc"
al@19110 27 done
jozee@3026 28 }