summaryrefslogtreecommitdiff
path: root/network/dropbox/dropbox.SlackBuild
diff options
context:
space:
mode:
authorMurat D. Kadirov <banderols@gmail.com>2010-12-18 13:54:46 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-20 22:43:46 -0600
commit3c3375d350ca48e0f79125ee769c75c40f8e6013 (patch)
tree38226dab8597640aa61af42cdf55d89b129199a0 /network/dropbox/dropbox.SlackBuild
parentfbf8765225f74d539d603facdb7a322f3904f427 (diff)
downloadslackbuilds-3c3375d350ca48e0f79125ee769c75c40f8e6013.tar.gz
network/dropbox: Updated for version 1.0.10.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
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 fa5a7779e8..2fa2b5ba28 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