mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
192c129df8
commit
691f1919d5
2 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue