summaryrefslogtreecommitdiff
path: root/desktop/lxde-common/lxde-common.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-09-02 16:13:04 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-05 23:21:10 +0700
commit4b20e518b6a4dc99b2efd44136bc7bb9118b73ad (patch)
tree9c11adb70b49e40301414414c1609901490b28f0 /desktop/lxde-common/lxde-common.SlackBuild
parentd4682fa8524e7ec6c0e2f150aac9ba8ab450fe0e (diff)
downloadslackbuilds-4b20e518b6a4dc99b2efd44136bc7bb9118b73ad.tar.gz
desktop/lxde-common: Updated for version 0.5.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 66e30884fd..b562be4b26 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