mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/copy: Fix desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2af04a5a2e
commit
dc9c1389be
2 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue