diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-01-26 12:56:15 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-31 08:32:13 +0700 |
commit | 038b92bbb56180f009735cdac5686caa3155d0ad (patch) | |
tree | 4d595beb5d6afb86a2915fe5b95d932d4b662a3a /network/copy/copy.SlackBuild | |
parent | 9e2994f6da6278322cb9737e7eea706b5a8af2b1 (diff) | |
download | slackbuilds-038b92bbb56180f009735cdac5686caa3155d0ad.tar.gz |
network/copy: Updated for version 1.48.0456 & Qt fixes.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'network/copy/copy.SlackBuild')
-rw-r--r-- | network/copy/copy.SlackBuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/network/copy/copy.SlackBuild b/network/copy/copy.SlackBuild index b99ba6adf1..1e3de068d2 100644 --- a/network/copy/copy.SlackBuild +++ b/network/copy/copy.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=copy SRCNAM=copy_agent DSKNAM=CopyAgent -VERSION=${VERSION:-1.48.0451} +VERSION=${VERSION:-1.48.0456} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -76,15 +76,18 @@ find $PKG -print0 | xargs -0 file | \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/bin -ln -sf /opt/$PRGNAM/$ARCH/CopyAgent $PKG/usr/bin + +cat <<EOT > $PKG/usr/bin/CopyAgent +#!/bin/sh +## thanks to Eric Hameleers +## Avoid Qt incompatibilities: +QT4DIR="" QT_PLUGIN_PATH="" /opt/$PRGNAM/$ARCH/CopyAgent +EOT +chmod 755 $PKG/usr/bin/CopyAgent + ln -sf /opt/$PRGNAM/$ARCH/CopyCmd $PKG/usr/bin ln -sf /opt/$PRGNAM/$ARCH/CopyConsole $PKG/usr/bin -## fix qt incompatibilities by using -## the libraries already on the system -## -current users must relink these on all qt updates -ln -sf /usr/lib$LIBDIRSUFFIX/qt/lib/libQt* $PKG/opt/$PRGNAM/$ARCH/ - install -m644 $CWD/$DSKNAM.desktop $PKG/usr/share/applications/ mkdir -p $PKG/usr/share/icons |