wok annotate lxqt/receipt @ rev 17873

eom: Update bdeps and genpkg_rules
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 27 02:10:52 2015 -0300 (2015-03-27)
parents a4377148d6dc
children e27eaf55057a
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"
psychomaniak@17245 9 WEB_SITE="http://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 {
psychomaniak@17340 28 for i in $(ls -d $1/home/* 2> /dev/null);
psychomaniak@17245 29 do [ -d $i ] && \
psychomaniak@17245 30 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \
psychomaniak@17245 31 $i/.config/slitaz/applications.conf \
psychomaniak@17245 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
psychomaniak@17245 36 sed '/NotShowIn=/s|;$|&LXQt;|' -i $1/etc/xdg/autostart/$a.desktop
psychomaniak@17245 37 done
psychomaniak@17245 38 }
psychomaniak@17245 39
psychomaniak@17245 40 post_remove()
psychomaniak@17245 41 {
psychomaniak@17340 42 for i in $(ls -d $1/home/* 2> /dev/null);
psychomaniak@17245 43 do [ -d $i ] && \
psychomaniak@17245 44 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"lxde-session"|' -i \
psychomaniak@17245 45 $i/.config/slitaz/applications.conf \
psychomaniak@17245 46 $1/etc/slitaz/applications.conf
psychomaniak@17245 47 done
psychomaniak@17245 48 }