wok-next view lxqt/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a3c581bf52b8 |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt"
4 VERSION="0.11"
5 CATEGORY="meta"
6 SHORT_DESC="LXQt metapackage"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://lxqt.org/"
10 TAGS="LXQt"
12 DEPENDS="compton-conf libfm-qt liblxqt libqtxdg libsysstat lximage-qt \
13 lxqt-about lxqt-admin lxqt-config lxqt-globalkeys lxqt-l10n lxqt-notificationd \
14 lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement \
15 lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo lxqt-themes pavucontrol-qt \
16 pcmanfm-qt qterminal qtermwidget lxmenu-data \
17 gvfs gvfs-udisks2 openbox qlipper xorg-xprop xorg-xset"
18 # still Qt4: obconf-qt lxqt-config-randr lxqt-appswitcher
20 SUGGESTED="copyq juffed qps qupzilla oxygen-icons \
21 lxqt-connman-applet lxqt-l10n-extra"
23 post_install() {
24 for i in $(ls -d "$1"/home/* 2>/dev/null); do
25 [ -d "$i" ] &&
26 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \
27 "$i/.config/slitaz/applications.conf" \
28 "$1/etc/slitaz/applications.conf"
29 done
31 for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do
32 if [ -e "$1/etc/xdg/autostart/$a.desktop" ]; then
33 grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" ||
34 sed -i '/NotShowIn=/ s|;$|&LXQt;|' "$1/etc/xdg/autostart/$a.desktop"
35 fi
36 done
37 }
39 post_remove() {
40 for i in $(ls -d "$1"/home/* 2> /dev/null); do
41 [ -d "$i" ] &&
42 sed -i '/WINDOW_MANAGER=/ s|"\([^"]*\)"|"lxde-session"|' \
43 "$i/.config/slitaz/applications.conf" \
44 "$1/etc/slitaz/applications.conf"
45 done
46 }