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

Add shiki-colors, shiki-colors-murrine. Specify HOST_ARCH="any" on the packages containing themes only.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 07 16:09:04 2016 +0300 (2016-05-07)
parents bc5d5781c529
children 40fab26c175d
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@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 }