wok-current view lxqt/receipt @ rev 19162
Up slitaz-tools (986)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 27 11:43:53 2016 +0200 (2016-05-27) |
parents | e27eaf55057a |
children | 20661c276bcf |
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 grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" || \
37 sed '/NotShowIn=/s|;$|&LXQt;|' -i "$1/etc/xdg/autostart/$a.desktop"
38 done
39 }
41 post_remove()
42 {
43 for i in $(ls -d "$1"/home/* 2> /dev/null);
44 do [ -d "$i" ] && \
45 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"lxde-session"|' -i \
46 "$i/.config/slitaz/applications.conf" \
47 "$1/etc/slitaz/applications.conf"
48 done
49 }