network/xdman: Make .desktop validate, i486=>i586.

Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
B. Watson 2017-03-21 04:48:56 -04:00 committed by David Spencer
parent 192c129df8
commit 691f1919d5
2 changed files with 4 additions and 5 deletions

View file

@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@ -64,7 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
if [ "$ARCH" = "i486" ]; then
if [ "$ARCH" = "i586" ]; then
tar xvf $CWD/$SRCNAM-$SUFFIX-32bit.tar.xz
elif [ "$ARCH" = "x86_64" ]; then
tar xvf $CWD/$SRCNAM-$SUFFIX-64bit.tar.xz

View file

@ -1,6 +1,5 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Xdman
GenericName=Xtreme Download Manager
Comment=Powerfull download accelarator and video downloader
@ -8,4 +7,4 @@ Icon=/usr/share/pixmaps/xdman.png
Exec=xdman
TryExec=xdman
Terminal=false
Categories=Network;
Categories=Network;