summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/linuxdcpp/linuxdcpp.SlackBuild8
-rw-r--r--network/linuxdcpp/linuxdcpp.desktop4
2 files changed, 6 insertions, 6 deletions
diff --git a/network/linuxdcpp/linuxdcpp.SlackBuild b/network/linuxdcpp/linuxdcpp.SlackBuild
index 8bcf731583..e83b5a345b 100644
--- a/network/linuxdcpp/linuxdcpp.SlackBuild
+++ b/network/linuxdcpp/linuxdcpp.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=linuxdcpp
-VERSION=1.1.0
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-2}
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
@@ -41,8 +41,8 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
diff --git a/network/linuxdcpp/linuxdcpp.desktop b/network/linuxdcpp/linuxdcpp.desktop
index 4719a0b08d..732e10d7c0 100644
--- a/network/linuxdcpp/linuxdcpp.desktop
+++ b/network/linuxdcpp/linuxdcpp.desktop
@@ -2,10 +2,10 @@
Name=Linux DC++
Comment=DC++ Linux client
Exec=linuxdcpp
-Icon=linuxdcpp.png
+Icon=linuxdcpp
Terminal=false
Type=Application
-Categories=Application;Network;
+Categories=Network;
GenericName=P2P client
GenericName[sv]=P2P klient
Comment[sv]=DC++ Linux klient