summaryrefslogtreecommitdiff
path: root/network/dropbox/dropbox.SlackBuild
diff options
context:
space:
mode:
authorAmit Ugol <amit.ugol@gmail.com>2014-05-24 07:17:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-24 07:17:30 +0700
commit928d1f5b6e2bf4bd0a25342936ae3717d7657765 (patch)
treeb510d8c20438bd7d57864283023cdcc03bc05cb4 /network/dropbox/dropbox.SlackBuild
parentc21143bdbf3604d56695b2fef4918a2c2a33e8cc (diff)
downloadslackbuilds-928d1f5b6e2bf4bd0a25342936ae3717d7657765.tar.gz
network/dropbox: Updated for version 2.8.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dropbox/dropbox.SlackBuild')
-rw-r--r--network/dropbox/dropbox.SlackBuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/network/dropbox/dropbox.SlackBuild b/network/dropbox/dropbox.SlackBuild
index 20803da4a7..8a0f971501 100644
--- a/network/dropbox/dropbox.SlackBuild
+++ b/network/dropbox/dropbox.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2010 Murat D. Kadirov <banderols@gmail.com>
+# Copyright 2014 Amit Ugol <amit.ugol@gmail.com>
#
# All rights reserved.
#
@@ -23,6 +23,9 @@
# Public changelog: https://www.dropbox.com/release_notes
# Changelog:
+# 25/May/2014 * Updated to latest version 2.8.2
+# * Split the terms into sections, they are all in the docs folder
+# * Updated the logo
# 02/Mar/2014 * Updated to newest version 2.6.15
# 16/Nov/2013 * Updates for Slackware 14.1:
# * Updated to newest version 2.4.6
@@ -44,7 +47,7 @@
PRGNAM=dropbox
PACKNAM=dropbox-lnx
-VERSION=${VERSION:-2.6.15}
+VERSION=${VERSION:-2.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,10 +74,10 @@ tar xvf $CWD/$PACKNAM.$ARCH-$VERSION.tar.gz
cd .$PRGNAM-dist
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
mkdir $PKG/opt
mkdir -p $PKG/usr/bin
@@ -84,8 +87,8 @@ install -D -m 644 $CWD/dropbox.desktop $PKG/usr/share/applications/dropbox.deskt
install -D -m 644 $CWD/dropbox.png $PKG/usr/share/pixmaps/dropbox.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/terms.txt > $PKG/usr/doc/$PRGNAM-$VERSION/terms.txt
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp $CWD/*.txt $PKG/usr/doc/$PRGNAM-$VERSION/
+cp $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc