wok rev 18899

Add more art from Leonardo Laporte.
SLiM themes Clean, Esperanza, Japan Art, Leaves, Montanhoso.
Openbox 3 themes Blinder, Chrommo.
Combo-theme Japanes (Openbox and GTK2).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 18 16:54:27 2016 +0200 (2016-02-18)
parents edf927a09cd3
children c2da0ba22fa6
files aurorials-theme/receipt japanes-theme/description.txt japanes-theme/receipt madeirado-theme/receipt openbox-theme-blinder/receipt openbox-theme-chrommo/receipt slim-theme-clean/receipt slim-theme-esperanza/receipt slim-theme-japan-art/receipt slim-theme-leaves/receipt slim-theme-montanhoso/receipt
line diff
     1.1 --- a/aurorials-theme/receipt	Wed Feb 17 11:45:28 2016 +0100
     1.2 +++ b/aurorials-theme/receipt	Thu Feb 18 16:54:27 2016 +0200
     1.3 @@ -9,9 +9,10 @@
     1.4  WEB_SITE="http://holkfoor.deviantart.com/art/Aurorials-pack-themes-382752941"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WGET_URL="https://dl.dropboxusercontent.com/s/urt40kxaladwpeu/Aurorials_GTK2_Openbox_Slim_Wallpaper.tar.bz2"
     1.7 +TAGS="holkfoor openbox slim wallpaper"
     1.8  
     1.9  DEPENDS="gtk2-engine-murrine 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 @@ -52,13 +53,13 @@
    1.16  		$1/home/*/.config/lxsession/*/desktop.conf; do
    1.17  		[ -f "$i" ] && sed -i 's|sNet/ThemeName=.*|sNet/ThemeName=Aurorials|' $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|>[^<]*<|>Aurorials<|' $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 Aurorials
    1.31 @@ -81,13 +82,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
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/japanes-theme/description.txt	Thu Feb 18 16:54:27 2016 +0200
     2.3 @@ -0,0 +1,4 @@
     2.4 +This theme have soft colors in PCMan File Manager and clean colors for menus.
     2.5 +This package contains themes for GTK2 and Openbox.
     2.6 +
     2.7 +Author: Leonardo Laporte
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/japanes-theme/receipt	Thu Feb 18 16:54:27 2016 +0200
     3.3 @@ -0,0 +1,63 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="japanes-theme"
     3.7 +VERSION="20130705"
     3.8 +CATEGORY="misc"
     3.9 +SHORT_DESC="Japanes Openbox and GTK2 Theme"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="GPL3"
    3.12 +WEB_SITE="http://holkfoor.deviantart.com/art/Japanes-Openbox-and-GTK2-Theme-382947891"
    3.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.14 +WGET_URL="https://www.dropbox.com/s/2ronvzzogtdlmbt/Japanes_GTK2_and_Openbox.tar.bz2"
    3.15 +TAGS="holkfoor openbox"
    3.16 +
    3.17 +DEPENDS="gtk-clearlooks openbox"
    3.18 +BUILD_DEPENDS="wget"
    3.19 +
    3.20 +# Rules to configure and make the package.
    3.21 +compile_rules()
    3.22 +{
    3.23 +	mkdir -p $install/usr/share/themes
    3.24 +	cp -a $src/Japanes $install/usr/share/themes
    3.25 +
    3.26 +	# (fix warnings about unsupported options)
    3.27 +	sed -i 's|^.*menuitemstyle|#&|; s|^.*listviewitemstyle|#&|;
    3.28 +		s|^.*progressbarstyle|#&|' $install/usr/share/themes/Japanes/gtk-2.0/gtkrc
    3.29 +}
    3.30 +
    3.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.32 +genpkg_rules()
    3.33 +{
    3.34 +	cp -a $install/* $fs
    3.35 +}
    3.36 +
    3.37 +post_install()
    3.38 +{
    3.39 +	# Set GTK+ Theme
    3.40 +	for i in $1/etc/xdg/lxsession/*/desktop.conf \
    3.41 +		$1/home/*/.config/lxsession/*/desktop.conf; do
    3.42 +		[ -f "$i" ] && sed -i 's|sNet/ThemeName=.*|sNet/ThemeName=Japanes|' $i
    3.43 +	done
    3.44 +	pgrep lxsession >/dev/null && lxsession -r
    3.45 +
    3.46 +	# Set Openbox theme
    3.47 +	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    3.48 +		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>Japanes<|' $i
    3.49 +	done
    3.50 +	pgrep openbox >/dev/null && openbox --reconfigure
    3.51 +}
    3.52 +
    3.53 +pre_remove() {
    3.54 +	# Restore GTK+ Theme (Clearlooks Human)
    3.55 +	for i in $1/etc/xdg/lxsession/*/desktop.conf \
    3.56 +		$1/home/*/.config/lxsession/*/desktop.conf; do
    3.57 +		[ -f "$i" ] && sed -i 's|sNet/ThemeName=.*|sNet/ThemeName=Clearlooks Human|' $i
    3.58 +	done
    3.59 +	pgrep lxsession && lxsession -r
    3.60 +
    3.61 +	# Restore Openbox theme (SliTaz)
    3.62 +	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    3.63 +		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>SliTaz<|' $i
    3.64 +	done
    3.65 +	pgrep openbox && openbox --reconfigure
    3.66 +}
     4.1 --- a/madeirado-theme/receipt	Wed Feb 17 11:45:28 2016 +0100
     4.2 +++ b/madeirado-theme/receipt	Thu Feb 18 16:54:27 2016 +0200
     4.3 @@ -9,9 +9,10 @@
     4.4  WEB_SITE="http://holkfoor.deviantart.com/art/Madeirado-Pack-Theme-382214228"
     4.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     4.6  WGET_URL="https://dl.dropboxusercontent.com/s/ax6iqx6aa344fsu/Madeirado_GTK2_Openbox_Slim_Wallpaper.tar.bz2"
     4.7 +TAGS="holkfoor openbox slim wallpaper"
     4.8  
     4.9  DEPENDS="gtk-clearlooks openbox slim"
    4.10 -BUILD_DEPENDS="imagemagick"
    4.11 +BUILD_DEPENDS="wget imagemagick"
    4.12  
    4.13  # Rules to configure and make the package.
    4.14  compile_rules()
    4.15 @@ -53,13 +54,13 @@
    4.16  		$1/home/*/.config/lxsession/*/desktop.conf; do
    4.17  		[ -f "$i" ] && sed -i 's|sNet/ThemeName=.*|sNet/ThemeName=Madeirado|' $i
    4.18  	done
    4.19 -	pgrep lxsession && lxsession -r
    4.20 +	pgrep lxsession >/dev/null && lxsession -r
    4.21  
    4.22  	# Set Openbox theme
    4.23  	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    4.24  		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>Madeirado<|' $i
    4.25  	done
    4.26 -	pgrep openbox && openbox --reconfigure
    4.27 +	pgrep openbox >/dev/null && openbox --reconfigure
    4.28  
    4.29  	# Set SLiM theme
    4.30  	chroot "$1/" slim-theme -s Madeirado
    4.31 @@ -82,13 +83,13 @@
    4.32  		$1/home/*/.config/lxsession/*/desktop.conf; do
    4.33  		[ -f "$i" ] && sed -i 's|sNet/ThemeName=.*|sNet/ThemeName=Clearlooks Human|' $i
    4.34  	done
    4.35 -	pgrep lxsession && lxsession -r
    4.36 +	pgrep lxsession >/dev/null && lxsession -r
    4.37  
    4.38  	# Restore Openbox theme (SliTaz)
    4.39  	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    4.40  		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>SliTaz<|' $i
    4.41  	done
    4.42 -	pgrep openbox && openbox --reconfigure
    4.43 +	pgrep openbox >/dev/null && openbox --reconfigure
    4.44  
    4.45  	# Restore SLiM theme
    4.46  	chroot "$1/" slim-theme -f Madeirado
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/openbox-theme-blinder/receipt	Thu Feb 18 16:54:27 2016 +0200
     5.3 @@ -0,0 +1,47 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="openbox-theme-blinder"
     5.7 +VERSION="20150606"
     5.8 +CATEGORY="x-window"
     5.9 +SHORT_DESC="Blinder - theme for Openbox 3"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="PublicDomain"
    5.12 +WEB_SITE="http://desktopstylish.tumblr.com/post/120897023300/blinder-the-openbox-3-theme-download"
    5.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.14 +WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlQURSR3V5dzB4aXc"
    5.15 +TAGS="hackdorte openbox"
    5.16 +
    5.17 +DEPENDS="openbox"
    5.18 +BUILD_DEPENDS=""
    5.19 +
    5.20 +# Rules to configure and make the package.
    5.21 +compile_rules()
    5.22 +{
    5.23 +	mkdir -p $install/usr/share/themes/Blinder
    5.24 +	cp -a $src/* $install/usr/share/themes/Blinder
    5.25 +	chown -R root:root $install
    5.26 +}
    5.27 +
    5.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.29 +genpkg_rules()
    5.30 +{
    5.31 +	cp -a $install/* $fs
    5.32 +}
    5.33 +
    5.34 +post_install()
    5.35 +{
    5.36 +	# Set Openbox theme
    5.37 +	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    5.38 +		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>Blinder<|' $i
    5.39 +	done
    5.40 +	pgrep openbox >/dev/null && openbox --reconfigure
    5.41 +}
    5.42 +
    5.43 +pre_remove()
    5.44 +{
    5.45 +	# Restore Openbox theme (SliTaz)
    5.46 +	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    5.47 +		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>SliTaz<|' $i
    5.48 +	done
    5.49 +	pgrep openbox >/dev/null && openbox --reconfigure
    5.50 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/openbox-theme-chrommo/receipt	Thu Feb 18 16:54:27 2016 +0200
     6.3 @@ -0,0 +1,48 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="openbox-theme-chrommo"
     6.7 +VERSION="20150601"
     6.8 +CATEGORY="x-window"
     6.9 +SHORT_DESC="Chrommo - theme for Openbox 3"
    6.10 +MAINTAINER="al.bobylev@gmail.com"
    6.11 +LICENSE="PublicDomain"
    6.12 +WEB_SITE="http://desktopstylish.tumblr.com/post/120497586780/chrommo-openbox-3-theme-download"
    6.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.14 +WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlcms4OHBWTVBWMmc"
    6.15 +TAGS="hackdorte openbox"
    6.16 +
    6.17 +DEPENDS="openbox"
    6.18 +BUILD_DEPENDS=""
    6.19 +
    6.20 +# Rules to configure and make the package.
    6.21 +compile_rules()
    6.22 +{
    6.23 +	mkdir -p $install/usr/share/themes/Chrommo
    6.24 +	cp -a $src/chrommo/* $install/usr/share/themes/Chrommo
    6.25 +	chmod a-x $install/usr/share/themes/Chrommo/openbox-3/themerc
    6.26 +	chown -R root:root $install
    6.27 +}
    6.28 +
    6.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.30 +genpkg_rules()
    6.31 +{
    6.32 +	cp -a $install/* $fs
    6.33 +}
    6.34 +
    6.35 +post_install()
    6.36 +{
    6.37 +	# Set Openbox theme
    6.38 +	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    6.39 +		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>Chrommo<|' $i
    6.40 +	done
    6.41 +	pgrep openbox >/dev/null && openbox --reconfigure
    6.42 +}
    6.43 +
    6.44 +pre_remove()
    6.45 +{
    6.46 +	# Restore Openbox theme (SliTaz)
    6.47 +	for i in /etc/xdg/openbox/rc.xml /home/*/.config/openbox/rc.xml; do
    6.48 +		[ -f $i ] && sed -i '/<theme>/,/<name>/ s|>[^<]*<|>SliTaz<|' $i
    6.49 +	done
    6.50 +	pgrep openbox >/dev/null && openbox --reconfigure
    6.51 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/slim-theme-clean/receipt	Thu Feb 18 16:54:27 2016 +0200
     7.3 @@ -0,0 +1,44 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="slim-theme-clean"
     7.7 +VERSION="20150602"
     7.8 +CATEGORY="x-window"
     7.9 +SHORT_DESC="Clean - theme for SLiM"
    7.10 +MAINTAINER="al.bobylev@gmail.com"
    7.11 +LICENSE="PublicDomain"
    7.12 +WEB_SITE="http://desktopstylish.tumblr.com/post/120566561330/clean-slim-theme-download"
    7.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    7.14 +WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlczlac2tXa01wbTQ"
    7.15 +TAGS="hackdorte slim"
    7.16 +
    7.17 +DEPENDS="slim"
    7.18 +BUILD_DEPENDS="imagemagick"
    7.19 +
    7.20 +# Rules to configure and make the package.
    7.21 +compile_rules()
    7.22 +{
    7.23 +	mkdir -p $install/usr/share/slim/themes/Clean
    7.24 +	cp -a $src/* $install/usr/share/slim/themes/Clean
    7.25 +	(
    7.26 +		cd $install/usr/share/slim/themes/Clean
    7.27 +		convert background.png background.jpg
    7.28 +		rm background.png
    7.29 +	)
    7.30 +	chown -R root:root $install
    7.31 +}
    7.32 +
    7.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.34 +genpkg_rules()
    7.35 +{
    7.36 +	cp -a $install/* $fs
    7.37 +}
    7.38 +
    7.39 +post_install()
    7.40 +{
    7.41 +	chroot "$1/" slim-theme -s Clean
    7.42 +}
    7.43 +
    7.44 +pre_remove()
    7.45 +{
    7.46 +	chroot "$1/" slim-theme -f Clean
    7.47 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/slim-theme-esperanza/receipt	Thu Feb 18 16:54:27 2016 +0200
     8.3 @@ -0,0 +1,39 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="slim-theme-esperanza"
     8.7 +VERSION="20150602"
     8.8 +CATEGORY="x-window"
     8.9 +SHORT_DESC="Esperanza - theme for SLiM"
    8.10 +MAINTAINER="al.bobylev@gmail.com"
    8.11 +LICENSE="PublicDomain"
    8.12 +WEB_SITE="http://desktopstylish.tumblr.com/post/120505013200/esperanza-slim-theme-download"
    8.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    8.14 +WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqldmFkeEcyXzRpLVk"
    8.15 +TAGS="hackdorte slim"
    8.16 +
    8.17 +DEPENDS="slim"
    8.18 +BUILD_DEPENDS=""
    8.19 +
    8.20 +# Rules to configure and make the package.
    8.21 +compile_rules()
    8.22 +{
    8.23 +	mkdir -p $install/usr/share/slim/themes/Esperanza
    8.24 +	cp -a $src/* $install/usr/share/slim/themes/Esperanza
    8.25 +	chown -R root:root $install
    8.26 +}
    8.27 +
    8.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.29 +genpkg_rules()
    8.30 +{
    8.31 +	cp -a $install/* $fs
    8.32 +}
    8.33 +
    8.34 +post_install()
    8.35 +{
    8.36 +	chroot "$1/" slim-theme -s Esperanza
    8.37 +}
    8.38 +
    8.39 +pre_remove()
    8.40 +{
    8.41 +	chroot "$1/" slim-theme -f Esperanza
    8.42 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/slim-theme-japan-art/receipt	Thu Feb 18 16:54:27 2016 +0200
     9.3 @@ -0,0 +1,39 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="slim-theme-japan-art"
     9.7 +VERSION="20150603"
     9.8 +CATEGORY="x-window"
     9.9 +SHORT_DESC="Japan Art - theme for SLiM"
    9.10 +MAINTAINER="al.bobylev@gmail.com"
    9.11 +LICENSE="PublicDomain"
    9.12 +WEB_SITE="http://desktopstylish.tumblr.com/post/120590949085/japan-art-slim-theme-download"
    9.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    9.14 +WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlUkJHVDJrXzVFRUk"
    9.15 +TAGS="hackdorte slim"
    9.16 +
    9.17 +DEPENDS="slim"
    9.18 +BUILD_DEPENDS=""
    9.19 +
    9.20 +# Rules to configure and make the package.
    9.21 +compile_rules()
    9.22 +{
    9.23 +	mkdir -p $install/usr/share/slim/themes/JapanArt
    9.24 +	cp -a $src/* $install/usr/share/slim/themes/JapanArt
    9.25 +	chown -R root:root $install
    9.26 +}
    9.27 +
    9.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.29 +genpkg_rules()
    9.30 +{
    9.31 +	cp -a $install/* $fs
    9.32 +}
    9.33 +
    9.34 +post_install()
    9.35 +{
    9.36 +	chroot "$1/" slim-theme -s JapanArt
    9.37 +}
    9.38 +
    9.39 +pre_remove()
    9.40 +{
    9.41 +	chroot "$1/" slim-theme -f JapanArt
    9.42 +}
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/slim-theme-leaves/receipt	Thu Feb 18 16:54:27 2016 +0200
    10.3 @@ -0,0 +1,44 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="slim-theme-leaves"
    10.7 +VERSION="20150602"
    10.8 +CATEGORY="x-window"
    10.9 +SHORT_DESC="Leaves - theme for SLiM"
   10.10 +MAINTAINER="al.bobylev@gmail.com"
   10.11 +LICENSE="PublicDomain"
   10.12 +WEB_SITE="http://desktopstylish.tumblr.com/post/120510224250/leaves-slim-theme-download"
   10.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   10.14 +WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqldkFkbmRCRFZVQ0k"
   10.15 +TAGS="hackdorte slim"
   10.16 +
   10.17 +DEPENDS="slim"
   10.18 +BUILD_DEPENDS="imagemagick"
   10.19 +
   10.20 +# Rules to configure and make the package.
   10.21 +compile_rules()
   10.22 +{
   10.23 +	mkdir -p $install/usr/share/slim/themes/Leaves
   10.24 +	cp -a $src/* $install/usr/share/slim/themes/Leaves
   10.25 +	(
   10.26 +		cd $install/usr/share/slim/themes/Leaves
   10.27 +		convert background.png background.jpg
   10.28 +		rm background.png
   10.29 +	)
   10.30 +	chown -R root:root $install
   10.31 +}
   10.32 +
   10.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.34 +genpkg_rules()
   10.35 +{
   10.36 +	cp -a $install/* $fs
   10.37 +}
   10.38 +
   10.39 +post_install()
   10.40 +{
   10.41 +	chroot "$1/" slim-theme -s Leaves
   10.42 +}
   10.43 +
   10.44 +pre_remove()
   10.45 +{
   10.46 +	chroot "$1/" slim-theme -f Leaves
   10.47 +}
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/slim-theme-montanhoso/receipt	Thu Feb 18 16:54:27 2016 +0200
    11.3 @@ -0,0 +1,39 @@
    11.4 +# SliTaz package receipt.
    11.5 +
    11.6 +PACKAGE="slim-theme-montanhoso"
    11.7 +VERSION="20150526"
    11.8 +CATEGORY="x-window"
    11.9 +SHORT_DESC="Montanhoso - theme for SLiM"
   11.10 +MAINTAINER="al.bobylev@gmail.com"
   11.11 +LICENSE="PublicDomain"
   11.12 +WEB_SITE="http://desktopstylish.tumblr.com/post/120406192590/montanhoso-theme-for-the-slim-login-manager"
   11.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   11.14 +WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlTXZZRDJWaFI4NkE"
   11.15 +TAGS="hackdorte slim"
   11.16 +
   11.17 +DEPENDS="slim"
   11.18 +BUILD_DEPENDS=""
   11.19 +
   11.20 +# Rules to configure and make the package.
   11.21 +compile_rules()
   11.22 +{
   11.23 +	mkdir -p $install/usr/share/slim/themes/Montanhoso
   11.24 +	cp -a $src/* $install/usr/share/slim/themes/Montanhoso
   11.25 +	chown -R root:root $install
   11.26 +}
   11.27 +
   11.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
   11.29 +genpkg_rules()
   11.30 +{
   11.31 +	cp -a $install/* $fs
   11.32 +}
   11.33 +
   11.34 +post_install()
   11.35 +{
   11.36 +	chroot "$1/" slim-theme -s Montanhoso
   11.37 +}
   11.38 +
   11.39 +pre_remove()
   11.40 +{
   11.41 +	chroot "$1/" slim-theme -f Montanhoso
   11.42 +}