diff options
Diffstat (limited to 'network/copy/copy.SlackBuild')
-rw-r--r-- | network/copy/copy.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/network/copy/copy.SlackBuild b/network/copy/copy.SlackBuild index 05aab98e4b0bc..ed7df7df4768a 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 |