summaryrefslogtreecommitdiff
path: root/network/owncloud-client
diff options
context:
space:
mode:
authorChristopher Walker <kris240376@gmail.com>2015-09-02 15:47:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-05 06:24:59 +0700
commitada52108515c86dc822ddd769cb8c1a7f55ad01f (patch)
treea479d62ea8899bd8aa0972b497c8dc8f41d4ab42 /network/owncloud-client
parentc7ca58ecfb8aea0ff87f6deb5644a4ea0341823e (diff)
downloadslackbuilds-ada52108515c86dc822ddd769cb8c1a7f55ad01f.tar.gz
network/owncloud-client: Updated for version 2.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/owncloud-client')
-rw-r--r--network/owncloud-client/owncloud-client.SlackBuild16
-rw-r--r--network/owncloud-client/owncloud-client.info6
2 files changed, 11 insertions, 11 deletions
diff --git a/network/owncloud-client/owncloud-client.SlackBuild b/network/owncloud-client/owncloud-client.SlackBuild
index acc1df17d2..9d5b425145 100644
--- a/network/owncloud-client/owncloud-client.SlackBuild
+++ b/network/owncloud-client/owncloud-client.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=owncloud-client
-VERSION=${VERSION:-1.8.4}
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,10 +66,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
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 -p build
cd build
@@ -83,6 +83,7 @@ cd build
-DCMAKE_BUILD_TYPE="Release" \
..
make VERBOSE=1
+ make doc
make install DESTDIR=$PKG
cd ..
@@ -90,12 +91,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CONTRIBUTING.md COPYING COPYING.documentation ChangeLog README.md \
+cp -a CONTRIBUTING.md COPYING COPYING.documentation ChangeLog README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rmdir $PKG/usr/man
+[ -d "$PKG/usr/man" ] && find $PKG/usr/man -type f -exec gzip -9 '{}' \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/owncloud-client/owncloud-client.info b/network/owncloud-client/owncloud-client.info
index 3e64d6201d..7331a7b0c2 100644
--- a/network/owncloud-client/owncloud-client.info
+++ b/network/owncloud-client/owncloud-client.info
@@ -1,8 +1,8 @@
PRGNAM="owncloud-client"
-VERSION="1.8.4"
+VERSION="2.0.0"
HOMEPAGE="http://owncloud.org/"
-DOWNLOAD="https://download.owncloud.com/desktop/stable/owncloudclient-1.8.4.tar.xz"
-MD5SUM="ce82c234fca674062599b3ceb4ac50c6"
+DOWNLOAD="https://download.owncloud.com/desktop/stable/owncloudclient-2.0.0.tar.xz"
+MD5SUM="61fe12826931af8645661b34a84e7379"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qtkeychain"