wok-next annotate lxqt/receipt @ rev 20364
Up palemoon (27.6.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Nov 24 05:32:16 2017 +0100 (2017-11-24) |
parents | 0709fcf9b0d7 |
children | 17a64e6b8783 |
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@20317 | 9 WEB_SITE="http://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@20325 | 16 pcmanfm-qt qterminal qtermwidget \ |
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 genpkg_rules() { |
psychomaniak@17245 | 24 mkdir -p $fs/etc |
psychomaniak@17245 | 25 } |
psychomaniak@17245 | 26 |
al@20317 | 27 post_install() { |
al@20317 | 28 for i in $(ls -d "$1"/home/* 2>/dev/null); do |
al@20317 | 29 [ -d "$i" ] && |
pascal@18730 | 30 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \ |
pascal@18730 | 31 "$i/.config/slitaz/applications.conf" \ |
pascal@18730 | 32 "$1/etc/slitaz/applications.conf" |
psychomaniak@17245 | 33 done |
al@20317 | 34 |
psychomaniak@17245 | 35 for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do |
al@20317 | 36 if [ -e "$1/etc/xdg/autostart/$a.desktop" -a \ |
al@20317 | 37 ! grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" ]; then |
al@20317 | 38 sed '/NotShowIn=/s|;$|&LXQt;|' -i "$1/etc/xdg/autostart/$a.desktop" |
al@20317 | 39 fi |
psychomaniak@17245 | 40 done |
psychomaniak@17245 | 41 } |
psychomaniak@17245 | 42 |
al@20317 | 43 post_remove() { |
al@20317 | 44 for i in $(ls -d "$1"/home/* 2> /dev/null); do |
al@20317 | 45 [ -d "$i" ] && |
al@20317 | 46 sed -i '/WINDOW_MANAGER=/ s|"\([^"]*\)"|"lxde-session"|' \ |
al@20317 | 47 "$i/.config/slitaz/applications.conf" \ |
al@20317 | 48 "$1/etc/slitaz/applications.conf" |
psychomaniak@17245 | 49 done |
psychomaniak@17245 | 50 } |