wok-6.x view lxqt/receipt @ rev 17602
appdata-tools: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 12 11:09:07 2015 +0100 (2015-02-12) |
parents | a4377148d6dc |
children | e27eaf55057a |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt"
4 VERSION="0.8.0"
5 CATEGORY="meta"
6 SHORT_DESC="LXQt metapackage + userconfig slim-install."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://lxqt.org"
10 TAGS="LXQt"
12 DEPENDS="gvfs gvfs-udisks2 lximage-qt libQtMimeTypes liblxqt liblxqt-mount lxqt-about \
13 lxqt-admin lxqt-appswitcher lxqt-common lxqt-config lxqt-config-randr \
14 lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel \
15 lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session \
16 lxqt-themes openbox obconf-qt oxygen-icons qlipper qtconfig pcmanfm-qt \
17 xorg-xprop xorg-xset"
19 SUGGESTED="copyq juffed qterminal qps qupzilla"
21 genpkg_rules()
22 {
23 mkdir -p $fs/etc
24 }
26 post_install()
27 {
28 for i in $(ls -d $1/home/* 2> /dev/null);
29 do [ -d $i ] && \
30 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \
31 $i/.config/slitaz/applications.conf \
32 $1/etc/slitaz/applications.conf
33 done
35 for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do
36 sed '/NotShowIn=/s|;$|&LXQt;|' -i $1/etc/xdg/autostart/$a.desktop
37 done
38 }
40 post_remove()
41 {
42 for i in $(ls -d $1/home/* 2> /dev/null);
43 do [ -d $i ] && \
44 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"lxde-session"|' -i \
45 $i/.config/slitaz/applications.conf \
46 $1/etc/slitaz/applications.conf
47 done
48 }