wok-next annotate lxqt/receipt @ rev 20586
Up cvs, apply patches
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 14:19:43 2018 +0300 (2018-04-14) |
parents | e65af2bd0cc3 |
children | a3c581bf52b8 |
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@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 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@20409 | 36 if [ -e "$1/etc/xdg/autostart/$a.desktop" ]; then |
al@20409 | 37 grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" || |
al@20409 | 38 sed -i '/NotShowIn=/ s|;$|&LXQt;|' "$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 } |