wok-current view lxqt/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
parents e27eaf55057a
children 20661c276bcf
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt"
4 VERSION="0.8.0"
5 CATEGORY="meta"
6 SHORT_DESC="LXQt metapackage + userconfig slim-install."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://lxqt.org"
10 TAGS="LXQt"
12 DEPENDS="gvfs gvfs-udisks2 lximage-qt libQtMimeTypes liblxqt liblxqt-mount lxqt-about \
13 lxqt-admin lxqt-appswitcher lxqt-common lxqt-config lxqt-config-randr \
14 lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel \
15 lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session \
16 lxqt-themes openbox obconf-qt oxygen-icons qlipper qtconfig pcmanfm-qt \
17 xorg-xprop xorg-xset"
19 SUGGESTED="copyq juffed qterminal qps qupzilla"
21 genpkg_rules()
22 {
23 mkdir -p $fs/etc
24 }
26 post_install()
27 {
28 for i in $(ls -d "$1"/home/* 2> /dev/null);
29 do [ -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 grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" || \
37 sed '/NotShowIn=/s|;$|&LXQt;|' -i "$1/etc/xdg/autostart/$a.desktop"
38 done
39 }
41 post_remove()
42 {
43 for i in $(ls -d "$1"/home/* 2> /dev/null);
44 do [ -d "$i" ] && \
45 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"lxde-session"|' -i \
46 "$i/.config/slitaz/applications.conf" \
47 "$1/etc/slitaz/applications.conf"
48 done
49 }