wok-next diff madeirado-theme/receipt @ rev 18925

description.txt should end with 0x0A byte (Carriage Return, Enter) to not glue with the next description in descriptions.txt.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 25 15:02:38 2016 +0200 (2016-02-25)
parents e068415d64ee
children 887b3b11683d
line diff
     1.1 --- a/madeirado-theme/receipt	Fri Feb 12 15:51:10 2016 +0200
     1.2 +++ b/madeirado-theme/receipt	Thu Feb 25 15:02:38 2016 +0200
     1.3 @@ -9,9 +9,10 @@
     1.4  WEB_SITE="http://holkfoor.deviantart.com/art/Madeirado-Pack-Theme-382214228"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WGET_URL="https://dl.dropboxusercontent.com/s/ax6iqx6aa344fsu/Madeirado_GTK2_Openbox_Slim_Wallpaper.tar.bz2"
     1.7 +TAGS="holkfoor openbox slim wallpaper"
     1.8  
     1.9  DEPENDS="gtk-clearlooks openbox slim"
    1.10 -BUILD_DEPENDS="imagemagick"
    1.11 +BUILD_DEPENDS="wget imagemagick"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15 @@ -53,13 +54,13 @@
    1.16  		$1/home/*/.config/lxsession/*/desktop.conf; do
    1.17  		[ -f "$i" ] && sed -i 's|sNet/ThemeName=.*|sNet/ThemeName=Madeirado|' $i
    1.18  	done
    1.19 -	pgrep lxsession && lxsession -r
    1.20 +	pgrep lxsession >/dev/null && lxsession -r
    1.21  
    1.22  	# Set Openbox theme
    1.23  	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    1.24  		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>Madeirado<|' $i
    1.25  	done
    1.26 -	pgrep openbox && openbox --reconfigure
    1.27 +	pgrep openbox >/dev/null && openbox --reconfigure
    1.28  
    1.29  	# Set SLiM theme
    1.30  	chroot "$1/" slim-theme -s Madeirado
    1.31 @@ -82,13 +83,13 @@
    1.32  		$1/home/*/.config/lxsession/*/desktop.conf; do
    1.33  		[ -f "$i" ] && sed -i 's|sNet/ThemeName=.*|sNet/ThemeName=Clearlooks Human|' $i
    1.34  	done
    1.35 -	pgrep lxsession && lxsession -r
    1.36 +	pgrep lxsession >/dev/null && lxsession -r
    1.37  
    1.38  	# Restore Openbox theme (SliTaz)
    1.39  	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    1.40  		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>SliTaz<|' $i
    1.41  	done
    1.42 -	pgrep openbox && openbox --reconfigure
    1.43 +	pgrep openbox >/dev/null && openbox --reconfigure
    1.44  
    1.45  	# Restore SLiM theme
    1.46  	chroot "$1/" slim-theme -f Madeirado