wok-next view lxqt/receipt @ rev 20949
Fix homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 01 16:21:51 2018 +0300 (2018-09-01) |
parents | 17a64e6b8783 |
children | d5aab818505e |
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 genpkg_rules() {
24 mkdir -p $fs/etc
25 }
27 post_install() {
28 for i in $(ls -d "$1"/home/* 2>/dev/null); do
29 [ -d "$i" ] &&
30 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \
31 "$i/.config/slitaz/applications.conf" \
32 "$1/etc/slitaz/applications.conf"
33 done
35 for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do
36 if [ -e "$1/etc/xdg/autostart/$a.desktop" ]; then
37 grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" ||
38 sed -i '/NotShowIn=/ s|;$|&LXQt;|' "$1/etc/xdg/autostart/$a.desktop"
39 fi
40 done
41 }
43 post_remove() {
44 for i in $(ls -d "$1"/home/* 2> /dev/null); do
45 [ -d "$i" ] &&
46 sed -i '/WINDOW_MANAGER=/ s|"\([^"]*\)"|"lxde-session"|' \
47 "$i/.config/slitaz/applications.conf" \
48 "$1/etc/slitaz/applications.conf"
49 done
50 }