system/mrxvt: Fixed (Handle desktop file)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-30 12:49:22 -04:00 committed by Robby Workman
parent c20711d8f8
commit 9d0d6888c1
2 changed files with 7 additions and 5 deletions

View file

@ -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

View file

@ -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