wok-next annotate lxqt/receipt @ rev 21231
updated clamtk (4.36 -> 5.27)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 17:21:10 2019 +0100 (2019-12-03) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
psychomaniak@17245 | 1 # SliTaz package receipt. |
psychomaniak@17245 | 2 |
psychomaniak@17245 | 3 PACKAGE="lxqt" |
al@20317 | 4 VERSION="0.11" |
psychomaniak@17245 | 5 CATEGORY="meta" |
al@20317 | 6 SHORT_DESC="LXQt metapackage" |
psychomaniak@17245 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@17245 | 8 LICENSE="GPL2" |
al@20906 | 9 WEB_SITE="https://lxqt.org/" |
al@21082 | 10 HOST_ARCH="any" |
psychomaniak@17245 | 11 |
al@20325 | 12 DEPENDS="compton-conf libfm-qt liblxqt libqtxdg libsysstat lximage-qt \ |
al@20325 | 13 lxqt-about lxqt-admin lxqt-config lxqt-globalkeys lxqt-l10n lxqt-notificationd \ |
al@20317 | 14 lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement \ |
al@20325 | 15 lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo lxqt-themes pavucontrol-qt \ |
al@20409 | 16 pcmanfm-qt qterminal qtermwidget lxmenu-data \ |
al@21078 | 17 gvfs gvfs-udisks2 openbox qlipper xprop xset" |
al@20325 | 18 # still Qt4: obconf-qt lxqt-config-randr lxqt-appswitcher |
psychomaniak@17245 | 19 |
al@20325 | 20 SUGGESTED="copyq juffed qps qupzilla oxygen-icons \ |
al@20325 | 21 lxqt-connman-applet lxqt-l10n-extra" |
psychomaniak@17245 | 22 |
al@21082 | 23 TAGS="LXQt" |
al@21082 | 24 |
al@20317 | 25 post_install() { |
al@20317 | 26 for i in $(ls -d "$1"/home/* 2>/dev/null); do |
al@20317 | 27 [ -d "$i" ] && |
pascal@18730 | 28 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \ |
pascal@18730 | 29 "$i/.config/slitaz/applications.conf" \ |
pascal@18730 | 30 "$1/etc/slitaz/applications.conf" |
psychomaniak@17245 | 31 done |
al@20317 | 32 |
psychomaniak@17245 | 33 for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do |
al@20409 | 34 if [ -e "$1/etc/xdg/autostart/$a.desktop" ]; then |
al@20409 | 35 grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" || |
al@20409 | 36 sed -i '/NotShowIn=/ s|;$|&LXQt;|' "$1/etc/xdg/autostart/$a.desktop" |
al@20317 | 37 fi |
psychomaniak@17245 | 38 done |
psychomaniak@17245 | 39 } |
psychomaniak@17245 | 40 |
al@20317 | 41 post_remove() { |
al@20317 | 42 for i in $(ls -d "$1"/home/* 2> /dev/null); do |
al@20317 | 43 [ -d "$i" ] && |
al@20317 | 44 sed -i '/WINDOW_MANAGER=/ s|"\([^"]*\)"|"lxde-session"|' \ |
al@20317 | 45 "$i/.config/slitaz/applications.conf" \ |
al@20317 | 46 "$1/etc/slitaz/applications.conf" |
psychomaniak@17245 | 47 done |
psychomaniak@17245 | 48 } |