diff options
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 |