wok-next annotate 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 |
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/" |
psychomaniak@17245 | 10 TAGS="LXQt" |
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@20325 | 17 gvfs gvfs-udisks2 openbox qlipper xorg-xprop xorg-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@20317 | 23 post_install() { |
al@20317 | 24 for i in $(ls -d "$1"/home/* 2>/dev/null); do |
al@20317 | 25 [ -d "$i" ] && |
pascal@18730 | 26 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \ |
pascal@18730 | 27 "$i/.config/slitaz/applications.conf" \ |
pascal@18730 | 28 "$1/etc/slitaz/applications.conf" |
psychomaniak@17245 | 29 done |
al@20317 | 30 |
psychomaniak@17245 | 31 for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do |
al@20409 | 32 if [ -e "$1/etc/xdg/autostart/$a.desktop" ]; then |
al@20409 | 33 grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" || |
al@20409 | 34 sed -i '/NotShowIn=/ s|;$|&LXQt;|' "$1/etc/xdg/autostart/$a.desktop" |
al@20317 | 35 fi |
psychomaniak@17245 | 36 done |
psychomaniak@17245 | 37 } |
psychomaniak@17245 | 38 |
al@20317 | 39 post_remove() { |
al@20317 | 40 for i in $(ls -d "$1"/home/* 2> /dev/null); do |
al@20317 | 41 [ -d "$i" ] && |
al@20317 | 42 sed -i '/WINDOW_MANAGER=/ s|"\([^"]*\)"|"lxde-session"|' \ |
al@20317 | 43 "$i/.config/slitaz/applications.conf" \ |
al@20317 | 44 "$1/etc/slitaz/applications.conf" |
psychomaniak@17245 | 45 done |
psychomaniak@17245 | 46 } |