wok-current annotate lxqt/receipt @ rev 22407

Add knot-dns (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 16:56:23 2019 +0100 (2019-12-10)
parents 9e01bc6321ea
children c15fedfb9582
rev   line source
psychomaniak@17245 1 # SliTaz package receipt.
psychomaniak@17245 2
psychomaniak@17245 3 PACKAGE="lxqt"
psychomaniak@17245 4 VERSION="0.8.0"
psychomaniak@17245 5 CATEGORY="meta"
psychomaniak@17245 6 SHORT_DESC="LXQt metapackage + userconfig slim-install."
psychomaniak@17245 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@17245 8 LICENSE="GPL2"
pascal@20682 9 WEB_SITE="https://lxqt.org/"
psychomaniak@17245 10 TAGS="LXQt"
psychomaniak@17245 11
psychomaniak@17340 12 DEPENDS="gvfs gvfs-udisks2 lximage-qt libQtMimeTypes liblxqt liblxqt-mount lxqt-about \
psychomaniak@17245 13 lxqt-admin lxqt-appswitcher lxqt-common lxqt-config lxqt-config-randr \
psychomaniak@17245 14 lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel \
psychomaniak@17245 15 lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session \
psychomaniak@17245 16 lxqt-themes openbox obconf-qt oxygen-icons qlipper qtconfig pcmanfm-qt \
psychomaniak@17245 17 xorg-xprop xorg-xset"
psychomaniak@17245 18
psychomaniak@17245 19 SUGGESTED="copyq juffed qterminal qps qupzilla"
psychomaniak@17245 20
psychomaniak@17245 21 genpkg_rules()
psychomaniak@17245 22 {
psychomaniak@17245 23 mkdir -p $fs/etc
psychomaniak@17245 24 }
psychomaniak@17245 25
psychomaniak@17245 26 post_install()
psychomaniak@17245 27 {
pascal@18730 28 for i in $(ls -d "$1"/home/* 2> /dev/null);
pascal@18730 29 do [ -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
psychomaniak@17245 34
psychomaniak@17245 35 for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do
pascal@18730 36 grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" || \
pascal@18730 37 sed '/NotShowIn=/s|;$|&LXQt;|' -i "$1/etc/xdg/autostart/$a.desktop"
psychomaniak@17245 38 done
psychomaniak@17245 39 }
psychomaniak@17245 40
psychomaniak@17245 41 post_remove()
psychomaniak@17245 42 {
pascal@18730 43 for i in $(ls -d "$1"/home/* 2> /dev/null);
pascal@18730 44 do [ -d "$i" ] && \
pascal@18730 45 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"lxde-session"|' -i \
pascal@18730 46 "$i/.config/slitaz/applications.conf" \
pascal@18730 47 "$1/etc/slitaz/applications.conf"
psychomaniak@17245 48 done
psychomaniak@17245 49 }