wok-next annotate lxde/receipt @ rev 19112
Deprecate "murrine" package, use "gtk2-engine-murrine" instead.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 07 04:49:28 2016 +0300 (2016-05-07) |
parents | d98ecc5a919e |
children | 0ed344a8daed |
rev | line source |
---|---|
pankso@2215 | 1 # SliTaz package receipt. |
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/" |
al@17992 | 10 TAGS="LXDE window-manager desktop" |
pankso@16269 | 11 HOST_ARCH="i486 arm" |
pankso@16269 | 12 |
al@17992 | 13 SUGGESTED="lxterminal lxdm lxshortcut xarchiver" |
pankso@16457 | 14 DEPENDS="xorg-libX11 gtk+ lxpanel lxtask lxappearance lxsession pcmanfm \ |
pascal@18250 | 15 lxsession-edit lxrandr lxinput openbox obconf gpicview leafpad slitaz-configs \ |
pankso@16457 | 16 slitaz-tools-boxes" |
pankso@2215 | 17 |
pankso@2215 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2215 | 19 genpkg_rules() |
pankso@2215 | 20 { |
pankso@12416 | 21 mkdir -p $fs/usr/bin $fs/usr/share/applications |
pankso@12416 | 22 install -m 0755 $stuff/lxde-session $fs/usr/bin |
pankso@12416 | 23 install -m 0755 $stuff/lxde-logout $fs/usr/bin |
pankso@12416 | 24 cp -a $stuff/xsessions $fs/usr/share |
pankso@12416 | 25 cp -a $stuff/lxde-logout.desktop $fs/usr/share/applications |
pankso@12416 | 26 chown -R 0.0 $fs |
pankso@2215 | 27 } |
pankso@12559 | 28 |
pankso@12559 | 29 # Add WM to SLIM available sessions. |
pankso@12559 | 30 post_install() |
pankso@12559 | 31 { |
pascal@18730 | 32 res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) |
pankso@12559 | 33 if ! echo "$res" | grep -q $PACKAGE; then |
pankso@12559 | 34 echo -n "Adding $PACKAGE to /etc/slim.conf..." |
pascal@18730 | 35 sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" "$1/etc/slim.conf" |
pankso@12559 | 36 status |
pankso@12559 | 37 fi |
pankso@12559 | 38 } |
pankso@12559 | 39 |
pankso@12559 | 40 # Remove WM from SLIM available sessions. |
pankso@12559 | 41 post_remove() |
pankso@12559 | 42 { |
pankso@12559 | 43 if grep -q $PACKAGE $root/etc/slim.conf; then |
pascal@18730 | 44 sed -i s/,$PACKAGE// "$1/etc/slim.conf" |
pankso@12559 | 45 fi |
pankso@12559 | 46 } |