aboutsummaryrefslogtreecommitdiff
path: root/desktop/lxde-common/lxde-common.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/lxde-common/lxde-common.SlackBuild')
-rw-r--r--desktop/lxde-common/lxde-common.SlackBuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/desktop/lxde-common/lxde-common.SlackBuild b/desktop/lxde-common/lxde-common.SlackBuild
index 66e30884fd17c..b562be4b261c3 100644
--- a/desktop/lxde-common/lxde-common.SlackBuild
+++ b/desktop/lxde-common/lxde-common.SlackBuild
@@ -50,6 +50,8 @@
# 0.5.5-4: 14/nov/2013 by Matteo Bernardini <ponce@slackbuilds.org>
# * Removed the option to switch to root completely
# (see http://bit.ly/no-more-su-pcmanfm)
+# 0.5.6-1: 02/sep/2014 by Matteo Bernardini <ponce@slackbuilds.org>
+# * Update.
#
# Run 'sh lxde-common.SlackBuild' to build a Slackware package.
# The package is created in /tmp .
@@ -58,8 +60,8 @@
# -----------------------------------------------------------------------------
PRGNAM=lxde-common
-VERSION=${VERSION:-0.5.5}
-BUILD=${BUILD:-4}
+VERSION=${VERSION:-0.5.6}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -108,7 +110,7 @@ find -L . \
-exec chmod 644 {} \;
# look for a renamed file
-sed -i -e 's|lxde\.conf|LXDE.conf|' Makefile.am
+sed -i -e 's|lxde\.conf|LXDE.conf|' Makefile.am || exit 1
sh autogen.sh || true
@@ -142,11 +144,11 @@ mkdir -p $PKG/usr/share/apps/kdm/sessions
for i in $(ls ../../../xsessions/*.desktop) ; do ln -sf $i ; done )
# patch desktop.conf to use the Tango icon theme
-sed -i -e 's#nuoveXT2#Tango#' $PKG/etc/xdg/lxsession/LXDE/desktop.conf
+sed -i -e 's#nuoveXT2#Tango#' $PKG/etc/xdg/lxsession/LXDE/desktop.conf || exit 1
# this option is deprecated upstream
sed -i -e 's#^su_cmd.*$##' \
- $PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf
+ $PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf || exit 1
# preserve modified config files
mv $PKG/etc/xdg/lxsession/LXDE/desktop.conf \
@@ -157,10 +159,12 @@ mv $PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf \
$PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf.new
# use some sane defaults for lxpanel
+rm -fr $PKG/etc/xdg/lxpanel/profile
+mkdir -p $PKG/etc/xdg/lxpanel/LXDE/panels
install -m 0644 $CWD/config/panel \
- $PKG/usr/share/lxpanel/profile/LXDE/panels/panel
+ $PKG/etc/xdg/lxpanel/LXDE/panels/panel.new
install -m 0644 $CWD/config/config \
- $PKG/usr/share/lxpanel/profile/LXDE/config
+ $PKG/etc/xdg/lxpanel/LXDE/config.new
# add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION