summaryrefslogtreecommitdiff
path: root/network/copy/copy.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-07-07 21:47:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-07 21:47:18 +0700
commitdc9c1389be6803f32462df68d3ac8375cba0d90c (patch)
tree15be512fa4f1909fb1227bce820788169d27a560 /network/copy/copy.SlackBuild
parent2af04a5a2e2225ab61e333a9aecaefca7abbae31 (diff)
downloadslackbuilds-dc9c1389be6803f32462df68d3ac8375cba0d90c.tar.gz
network/copy: Fix desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/copy/copy.SlackBuild')
-rw-r--r--network/copy/copy.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/network/copy/copy.SlackBuild b/network/copy/copy.SlackBuild
index 05aab98e4b..ed7df7df47 100644
--- a/network/copy/copy.SlackBuild
+++ b/network/copy/copy.SlackBuild
@@ -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