wok-next annotate lxde/receipt @ rev 20858
Update perl to current stable (5.28.0)
Exclude ever broken microperl from perl receipt
Remove old perl-thread because default perl package already use threads
lxsession-edit has gone long time ago and can be found in the lxsession package
Exclude ever broken microperl from perl receipt
Remove old perl-thread because default perl package already use threads
lxsession-edit has gone long time ago and can be found in the lxsession package
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 11:17:45 2018 +0300 (2018-06-27) |
parents | c4e53a39395a |
children | a3c581bf52b8 |
rev | line source |
---|---|
al@19844 | 1 # SliTaz package receipt v2. |
pankso@2215 | 2 |
pankso@2215 | 3 PACKAGE="lxde" |
pankso@12416 | 4 VERSION="0.3.2.1" |
pankso@3475 | 5 CATEGORY="meta" |
al@17992 | 6 SHORT_DESC="Meta-package for the Lightweight X11 Desktop Environement" |
pankso@2215 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL2" |
pankso@3475 | 9 WEB_SITE="http://lxde.org/" |
pankso@16269 | 10 |
pankso@2215 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2215 | 12 genpkg_rules() |
pankso@2215 | 13 { |
pankso@12416 | 14 mkdir -p $fs/usr/bin $fs/usr/share/applications |
pankso@12416 | 15 install -m 0755 $stuff/lxde-session $fs/usr/bin |
pankso@12416 | 16 install -m 0755 $stuff/lxde-logout $fs/usr/bin |
pankso@12416 | 17 cp -a $stuff/xsessions $fs/usr/share |
pankso@12416 | 18 cp -a $stuff/lxde-logout.desktop $fs/usr/share/applications |
pankso@12416 | 19 chown -R 0.0 $fs |
al@19844 | 20 |
al@19844 | 21 TAGS="LXDE window-manager desktop" |
al@19844 | 22 SUGGESTED="lxterminal lxdm lxshortcut xarchiver" |
al@19844 | 23 DEPENDS="xorg-libX11 gtk+ lxpanel lxtask lxappearance lxsession pcmanfm \ |
al@20858 | 24 lxrandr lxinput openbox obconf gpicview leafpad slitaz-configs \ |
al@20858 | 25 slitaz-tools-boxes" |
pankso@2215 | 26 } |
pankso@12559 | 27 |
pankso@12559 | 28 # Add WM to SLIM available sessions. |
al@19844 | 29 post_install() { |
pascal@18730 | 30 res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) |
pankso@12559 | 31 if ! echo "$res" | grep -q $PACKAGE; then |
al@19844 | 32 sed -i "s/^sessions.*/sessions $res,$PACKAGE/" "$1/etc/slim.conf" |
pankso@12559 | 33 fi |
pankso@12559 | 34 } |
pankso@12559 | 35 |
pankso@12559 | 36 # Remove WM from SLIM available sessions. |
al@19844 | 37 post_remove() { |
pankso@12559 | 38 if grep -q $PACKAGE $root/etc/slim.conf; then |
pascal@18730 | 39 sed -i s/,$PACKAGE// "$1/etc/slim.conf" |
pankso@12559 | 40 fi |
pankso@12559 | 41 } |