diff options
author | Eric Hameleers <alien@slackware.com> | 2014-03-10 20:03:43 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-03-10 20:03:43 +0000 |
commit | 23871a610acddabc58ee840c75889721cc33e7c5 (patch) | |
tree | 3cc9948100f3febc9965cddc1ce10229f0ebeec7 /copy-client | |
parent | 2c3247fa75dcb546ecc3fc5b2c28edf7870fb695 (diff) | |
download | asb-23871a610acddabc58ee840c75889721cc33e7c5.tar.gz asb-23871a610acddabc58ee840c75889721cc33e7c5.tar.xz |
Fix for Slackware 14.1 and upward
Diffstat (limited to 'copy-client')
-rwxr-xr-x | copy-client/build/copy-client.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/copy-client/build/copy-client.SlackBuild b/copy-client/build/copy-client.SlackBuild index 286c6ef6..9ecc1077 100755 --- a/copy-client/build/copy-client.SlackBuild +++ b/copy-client/build/copy-client.SlackBuild @@ -31,7 +31,7 @@ # Build needs: # Needs: # Changelog: -# 1.42.0277-1: 06/mar/2014 by Eric Hameleers <alien@slackware.com> +# 1.42.0277-1: 10/mar/2014 by Eric Hameleers <alien@slackware.com> # * Initial build. # # Run 'sh copy-client.SlackBuild' to build a Slackware package. @@ -153,9 +153,15 @@ chmod -R u+w,go+r-w,a+X-s . mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM cp -a ${PKGARCH}/* $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/ -for FILE in CopyAgent CopyCmd CopyConsole ; do +for FILE in CopyCmd CopyConsole ; do ln -sf ../lib${LIBDIRSUFFIX}/$PRGNAM/${FILE} $PKG/usr/bin/ done +cat <<EOT > $PKG/usr/bin/CopyAgent +#!/bin/sh +# Avoid Qt incompatibilities: +QT4DIR="" QT_PLUGIN_PATH="" /usr/lib${LIBDIRSUFFIX}/CopyAgent +EOT +chmod 755 $PKG/usr/bin/CopyAgent # Create a menu entry for the GUI: mkdir -p $PKG/usr/share/{applications,icons} |