diff options
author | Ryan P.C. McQuen <ryanpcmcquen@gmail.com> | 2014-06-30 09:01:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-06-30 09:13:08 +0700 |
commit | bc463a3817e89a976c9544eb2d97d514c8ea95c5 (patch) | |
tree | 0756bfa293a26e9b6f00110d988346cbf7207b04 /network | |
parent | e842bd8ef5a0c3162f5a295108f6b54f030066f5 (diff) |
network/copy: Added desktop autostart file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/copy/CopyAgent.desktop | 13 | ||||
-rw-r--r-- | network/copy/copy-client.png | bin | 0 -> 4016 bytes | |||
-rw-r--r-- | network/copy/copy.SlackBuild | 9 |
3 files changed, 21 insertions, 1 deletions
diff --git a/network/copy/CopyAgent.desktop b/network/copy/CopyAgent.desktop new file mode 100644 index 0000000000000..cc13c5b02c9db --- /dev/null +++ b/network/copy/CopyAgent.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Terminal=false +StartupNotify=false +GenericName=File Synchronizer +Categories=Network;FileTransfer; +Exec=/opt/copy/x86/CopyAgent +Icon=copy-client +Name=CopyAgent +Comment=Sync files across computers, mobile devices, and to the web +X-GNOME-Autostart-enabled=true diff --git a/network/copy/copy-client.png b/network/copy/copy-client.png Binary files differnew file mode 100644 index 0000000000000..facdd848af0fb --- /dev/null +++ b/network/copy/copy-client.png diff --git a/network/copy/copy.SlackBuild b/network/copy/copy.SlackBuild index dfa8364dc58ff..05aab98e4b0bc 100644 --- a/network/copy/copy.SlackBuild +++ b/network/copy/copy.SlackBuild @@ -24,8 +24,9 @@ PRGNAM=copy SRCNAM=copy_agent +DSKNAM=CopyAgent VERSION=${VERSION:-1.45.0363} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,6 +68,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p $PKG/opt/$PRGNAM +mkdir -p $PKG/etc/xdg/autostart/ cp -a * $PKG/opt/$PRGNAM find $PKG -print0 | xargs -0 file | \ @@ -83,6 +85,11 @@ ln -sf /opt/$PRGNAM/$ARCH/CopyConsole $PKG/usr/bin ## -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/etc/xdg/autostart/ + +mkdir -p $PKG/usr/share/icons +install -m644 $CWD/copy-client.png $PKG/usr/share/icons + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |