summaryrefslogtreecommitdiff
path: root/network/copy/copy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/copy/copy.SlackBuild')
-rw-r--r--network/copy/copy.SlackBuild9
1 files changed, 8 insertions, 1 deletions
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