wok-current view lxqt/receipt @ rev 24894
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 08 10:34:41 2022 +0000 (2022-04-08) |
parents | 9e01bc6321ea |
children | c15fedfb9582 |
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="https://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 }