wok annotate murrine-svn-themes/receipt @ rev 20446
python-singledispatch: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 20 15:14:50 2018 +0200 (2018-09-20) |
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 } |