summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 04:48:56 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:48 +0000
commit691f1919d50ff1f543622ac7e2ed5ea3117a79c5 (patch)
tree804efcf1c8d07214dde9086249df9b7dface3dd0 /network
parent192c129df8337e8e2e383b88a7aad91175811b61 (diff)
downloadslackbuilds-691f1919d50ff1f543622ac7e2ed5ea3117a79c5.tar.gz
network/xdman: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/xdman/xdman.SlackBuild6
-rw-r--r--network/xdman/xdman.desktop3
2 files changed, 4 insertions, 5 deletions
diff --git a/network/xdman/xdman.SlackBuild b/network/xdman/xdman.SlackBuild
index 2151d6ef26..331e4ce1c0 100644
--- a/network/xdman/xdman.SlackBuild
+++ b/network/xdman/xdman.SlackBuild
@@ -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
diff --git a/network/xdman/xdman.desktop b/network/xdman/xdman.desktop
index 0a7e777879..b2b3b32554 100644
--- a/network/xdman/xdman.desktop
+++ b/network/xdman/xdman.desktop
@@ -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; \ No newline at end of file
+Categories=Network;