From bc463a3817e89a976c9544eb2d97d514c8ea95c5 Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Mon, 30 Jun 2014 09:01:44 +0700 Subject: network/copy: Added desktop autostart file. Signed-off-by: Willy Sudiarto Raharjo --- network/copy/CopyAgent.desktop | 13 +++++++++++++ network/copy/copy-client.png | Bin 0 -> 4016 bytes network/copy/copy.SlackBuild | 9 ++++++++- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 network/copy/CopyAgent.desktop create mode 100644 network/copy/copy-client.png (limited to 'network') diff --git a/network/copy/CopyAgent.desktop b/network/copy/CopyAgent.desktop new file mode 100644 index 0000000000..cc13c5b02c --- /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 new file mode 100644 index 0000000000..facdd848af Binary files /dev/null and b/network/copy/copy-client.png differ diff --git a/network/copy/copy.SlackBuild b/network/copy/copy.SlackBuild index dfa8364dc5..05aab98e4b 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 -- cgit v1.2.3