summaryrefslogtreecommitdiff
path: root/network/linuxdcpp
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 04:21:35 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:36 +0000
commitcae0bf800053edae7289a53b9e358a140dd2be7a (patch)
tree629e1b31c7ada0fb252cffcf07436992c59bf32a /network/linuxdcpp
parent163b40da8135c2006f408ff7e39fd15a17ea1225 (diff)
downloadslackbuilds-cae0bf800053edae7289a53b9e358a140dd2be7a.tar.gz
network/linuxdcpp: Allow VERSION override, validate .desktop.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/linuxdcpp')
-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