wok annotate xfce4/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents eb8067417980
children d6ca18366f41
rev   line source
erjo@2077 1 # SliTaz package receipt.
erjo@2077 2
erjo@2077 3 PACKAGE="xfce4"
erjo@14825 4 VERSION="4.10.0"
erjo@2077 5 CATEGORY="meta"
erjo@2077 6 SHORT_DESC="Xfce Desktop Environment"
erjo@2077 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
pascal@15579 9 SUGGESTED="xfce4-slitaz-config"
pascal@15579 10 WEB_SITE="http://www.xfce.org"
pascal@15579 11
slaxemulator@8036 12 DEPENDS="libxfce4util xfconf libxfce4ui garcon libexo
erjo@4178 13 xfce4-panel thunar xfce4-settings xfce4-session xfwm4 xfdesktop thunar-volman
gokhlayeh@7707 14 thunar-archive-plugin xfce-utils"
erjo@2077 15
erjo@2077 16 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2077 17 genpkg_rules()
erjo@2077 18 {
erjo@2077 19 mkdir -p $fs/usr
erjo@2077 20 }
erjo@2077 21
erjo@2077 22 post_install()
erjo@2077 23 {
erjo@2077 24 echo "Processing postinstall commands..."
erjo@2077 25
erjo@2077 26 # Adding xfce to SLIM available sessions.
pascal@18730 27 if ! grep -q xfce "$1/etc/slim.conf"; then
pascal@18730 28 sed -i s/,jwm/,jwm,xfce/ "$1/etc/slim.conf"
erjo@2077 29 fi
erjo@2077 30
erjo@2077 31 # Adding xfce support to tazx
erjo@2077 32
erjo@2077 33 }