diff options
author | Ryan P.C. McQuen <ryanpcmcquen@gmail.com> | 2014-07-07 21:47:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-07 21:47:18 +0700 |
commit | dc9c1389be6803f32462df68d3ac8375cba0d90c (patch) | |
tree | 15be512fa4f1909fb1227bce820788169d27a560 /network/copy | |
parent | 2af04a5a2e2225ab61e333a9aecaefca7abbae31 (diff) | |
download | slackbuilds-dc9c1389be6803f32462df68d3ac8375cba0d90c.tar.gz |
network/copy: Fix desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/copy')
-rw-r--r-- | network/copy/CopyAgent.desktop | 2 | ||||
-rw-r--r-- | network/copy/copy.SlackBuild | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/network/copy/CopyAgent.desktop b/network/copy/CopyAgent.desktop index cc13c5b02c..4e2a5868aa 100644 --- a/network/copy/CopyAgent.desktop +++ b/network/copy/CopyAgent.desktop @@ -6,7 +6,7 @@ Terminal=false StartupNotify=false GenericName=File Synchronizer Categories=Network;FileTransfer; -Exec=/opt/copy/x86/CopyAgent +Exec=CopyAgent Icon=copy-client Name=CopyAgent Comment=Sync files across computers, mobile devices, and to the web diff --git a/network/copy/copy.SlackBuild b/network/copy/copy.SlackBuild index 05aab98e4b..ed7df7df47 100644 --- a/network/copy/copy.SlackBuild +++ b/network/copy/copy.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=copy SRCNAM=copy_agent DSKNAM=CopyAgent VERSION=${VERSION:-1.45.0363} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -55,7 +55,7 @@ fi set -eu rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -pv $TMP $PKG $OUTPUT cd $TMP rm -rf "$TARBALL_ROOT" tar -xvf "$CWD/$TARBALL" @@ -63,12 +63,13 @@ cd "$TARBALL_ROOT" chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -mkdir -p $PKG/opt/$PRGNAM -mkdir -p $PKG/etc/xdg/autostart/ +mkdir -pv $PKG/opt/$PRGNAM +mkdir -pv $PKG/etc/xdg/autostart/ +mkdir -pv $PKG/usr/share/applications/ cp -a * $PKG/opt/$PRGNAM find $PKG -print0 | xargs -0 file | \ @@ -86,6 +87,7 @@ ln -sf /opt/$PRGNAM/$ARCH/CopyConsole $PKG/usr/bin ln -sf /usr/lib$LIBDIRSUFFIX/qt/lib/libQt* $PKG/opt/$PRGNAM/$ARCH/ install -m644 $CWD/$DSKNAM.desktop $PKG/etc/xdg/autostart/ +install -m644 $CWD/$DSKNAM.desktop $PKG/usr/share/applications/ mkdir -p $PKG/usr/share/icons install -m644 $CWD/copy-client.png $PKG/usr/share/icons |