From 9d0d6888c18fecb4470b9c9f09c99b6106ac637f Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 30 Sep 2012 12:49:22 -0400 Subject: system/mrxvt: Fixed (Handle desktop file) Signed-off-by: dsomero --- system/mrxvt/doinst.sh | 6 +++++- system/mrxvt/mrxvt.SlackBuild | 6 ++---- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'system/mrxvt') diff --git a/system/mrxvt/doinst.sh b/system/mrxvt/doinst.sh index bdee9c86f1..b95f8639ac 100644 --- a/system/mrxvt/doinst.sh +++ b/system/mrxvt/doinst.sh @@ -1,4 +1,3 @@ - config() { NEW="$1" OLD="$(dirname $NEW)/$(basename $NEW .new)" @@ -17,3 +16,8 @@ config etc/mrxvt/submenus.menu.new config etc/mrxvt/mrxvtrc.new config etc/mrxvt/mrxvtrc.sample.new +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + + diff --git a/system/mrxvt/mrxvt.SlackBuild b/system/mrxvt/mrxvt.SlackBuild index aa952319f2..d9c3019680 100644 --- a/system/mrxvt/mrxvt.SlackBuild +++ b/system/mrxvt/mrxvt.SlackBuild @@ -4,19 +4,16 @@ # Written by Paul Wisehart wise@lupulin.net -set -e PKGNAM=mrxvt VERSION=0.5.4 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -45,6 +42,7 @@ else LIBDIRSUFFIX="" fi +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -- cgit v1.2.3