aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas 'Nille' Åkerström <nille.kungen[AT]gmail.com>2011-07-01 23:32:20 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-01 23:32:20 -0300
commite68661ecf3ce22fa7bae568707f59359bac66d6e (patch)
tree5efc3787defee670e399dab61fafce40d820c7c3
parent9b1c1ea549fe79fdc069bf9addfe45229f62b45b (diff)
network/linuxdcpp: Updated for version 1.1.0.
-rw-r--r--network/linuxdcpp/README2
-rw-r--r--network/linuxdcpp/doinst.sh5
-rw-r--r--network/linuxdcpp/linuxdcpp.SlackBuild12
-rw-r--r--network/linuxdcpp/linuxdcpp.desktop2
-rw-r--r--network/linuxdcpp/linuxdcpp.info8
-rw-r--r--network/linuxdcpp/slack-desc2
6 files changed, 15 insertions, 16 deletions
diff --git a/network/linuxdcpp/README b/network/linuxdcpp/README
index 046e70c18ce59..37516c8c77df7 100644
--- a/network/linuxdcpp/README
+++ b/network/linuxdcpp/README
@@ -1,4 +1,4 @@
linuxdcpp is an Unix/Linux port of the DC++ client.
It's a client for direct connect P2P networks.
-This requires scons (also available on SlackBuilds.org).
+This requires scons at build time.
diff --git a/network/linuxdcpp/doinst.sh b/network/linuxdcpp/doinst.sh
index ff5dd6d54791c..ae6bd4528589e 100644
--- a/network/linuxdcpp/doinst.sh
+++ b/network/linuxdcpp/doinst.sh
@@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/linuxdcpp/linuxdcpp.SlackBuild b/network/linuxdcpp/linuxdcpp.SlackBuild
index e232a6f5a060a..556fac7cac172 100644
--- a/network/linuxdcpp/linuxdcpp.SlackBuild
+++ b/network/linuxdcpp/linuxdcpp.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=linuxdcpp
-VERSION=1.0.3
+VERSION=1.1.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -62,9 +60,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+rw,go+r-w .
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
scons \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
FAKE_ROOT=$PKG \
debug=no \
@@ -90,7 +88,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
-if [ "$1" = "--cleanup" ]; then
- rm -rf $PKG $TMP/$PRGNAM-$VERSION
- fi
diff --git a/network/linuxdcpp/linuxdcpp.desktop b/network/linuxdcpp/linuxdcpp.desktop
index cc5d5451c258b..177b91761999e 100644
--- a/network/linuxdcpp/linuxdcpp.desktop
+++ b/network/linuxdcpp/linuxdcpp.desktop
@@ -2,7 +2,7 @@
Name=Linux DC++
Comment=DC++ Linux client
Exec=linuxdcpp
-Icon=/usr/share/linuxdcpp/pixmaps/linuxdcpp-icon.png
+Icon=linuxdcpp.png
Terminal=false
Type=Application
Categories=Application;Network;
diff --git a/network/linuxdcpp/linuxdcpp.info b/network/linuxdcpp/linuxdcpp.info
index dddc2815259b7..112fbedfbf460 100644
--- a/network/linuxdcpp/linuxdcpp.info
+++ b/network/linuxdcpp/linuxdcpp.info
@@ -1,10 +1,10 @@
PRGNAM="linuxdcpp"
-VERSION="1.0.3"
+VERSION="1.1.0"
HOMEPAGE="https://launchpad.net/linuxdcpp"
-DOWNLOAD="http://launchpad.net/linuxdcpp/1.0/1.0.3/+download/linuxdcpp-1.0.3.tar.bz2"
-MD5SUM="a427b87fa576d8674640f0a7f6ad5e66"
+DOWNLOAD="http://launchpad.net/linuxdcpp/1.1/1.1.0/+download/linuxdcpp-1.1.0.tar.bz2"
+MD5SUM="037de708bdb1e5dd7ac6c359b0e2c1a0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Niklas 'Nille' Åkerström"
EMAIL="nille.kungen[AT]gmail.com"
-APPROVED="dsomero"
+APPROVED="dsomero,Niels Horn"
diff --git a/network/linuxdcpp/slack-desc b/network/linuxdcpp/slack-desc
index 37311ff8daeee..3ef13c757fb9f 100644
--- a/network/linuxdcpp/slack-desc
+++ b/network/linuxdcpp/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler--------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
linuxdcpp: linuxdcpp (linux dc plus plus)
linuxdcpp:
linuxdcpp: linuxdcpp is an Unix/Linux port of the DC++ client.