network/copy: Fix desktop file.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ryan P.C. McQuen 2014-07-07 21:47:18 +07:00 committed by Willy Sudiarto Raharjo
parent 2af04a5a2e
commit dc9c1389be
2 changed files with 9 additions and 7 deletions

View file

@ -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

View file

@ -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