aboutsummaryrefslogtreecommitdiff
path: root/network/dropbox/dropbox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/dropbox/dropbox.SlackBuild')
-rw-r--r--network/dropbox/dropbox.SlackBuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/network/dropbox/dropbox.SlackBuild b/network/dropbox/dropbox.SlackBuild
index fa5a7779e821..2fa2b5ba284d 100644
--- a/network/dropbox/dropbox.SlackBuild
+++ b/network/dropbox/dropbox.SlackBuild
@@ -24,7 +24,8 @@
PRGNAM=dropbox
-VERSION=${VERSION:-0.7.110}
+PACKNAM=dropbox-lnx
+VERSION=${VERSION:-1.0.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,7 +48,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf .$PRGNAM-dist
-tar xvf $CWD/$PRGNAM-lnx.$ARCH-$VERSION.tar.gz
+tar xvf $CWD/$PACKNAM.$ARCH-$VERSION.tar.gz
cd .$PRGNAM-dist
chown -R root:root .
find . \
@@ -56,18 +57,20 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir -p $PKG/opt $PKG/usr/bin
-cp -a ../.$PRGNAM-dist $PKG/opt/dropbox
-rm -f $PKG/opt/dropbox/libstdc++.so.6
-( cd $PKG/usr/bin ; ln -s ../../opt/dropbox/dropboxd . )
-
+mkdir $PKG/opt
+mkdir -p $PKG/usr/bin
+cp -R ../.$PRGNAM-dist $PKG/opt/dropbox
+rm $PKG/opt/dropbox/libstdc++.so.6
+ln -s $PKG/opt/dropbox/dropboxd $PKG/usr/bin/dropboxd
install -D -m 644 $CWD/dropbox.desktop $PKG/usr/share/applications/dropbox.desktop
install -D -m 644 $CWD/dropbox.png $PKG/usr/share/pixmaps/dropbox.png
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/terms.html > $PKG/usr/doc/$PRGNAM-$VERSION/terms.html
+cp -a \
+ $CWD/terms.html \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s ../../../opt/dropbox/ACKNOWLEDGEMENTS . )
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc