aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-02-09 00:08:50 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 15:37:08 +0700
commit59e6121d013ce216cc83dac2cb55dd4f952a3f1e (patch)
tree19d9818ac8088f93014c4d88dd3a366b322b0258 /network
parent06d387ff3ec2369b8368d540b52745e07cc30717 (diff)
network/owncloud-client: Update for 2.10.0.6519
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/owncloud-client/owncloud-client.SlackBuild15
-rw-r--r--network/owncloud-client/owncloud-client.info8
2 files changed, 9 insertions, 14 deletions
diff --git a/network/owncloud-client/owncloud-client.SlackBuild b/network/owncloud-client/owncloud-client.SlackBuild
index 0e95208c9421..bbac69aadf25 100644
--- a/network/owncloud-client/owncloud-client.SlackBuild
+++ b/network/owncloud-client/owncloud-client.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for owncloud-client
# Copyright 2013-2018 Christopher Walker Kempner, TX
-# Copyright 2020 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2020-2022 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,12 +26,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=owncloud-client
-VERSION=${VERSION:-2.5.4.11654}
+VERSION=${VERSION:-2.10.0.6519}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=owncloudclient
+SRCNAM=ownCloud
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -82,22 +82,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i '/^#include <QPainter>$/a #include <QPainterPath>' src/libsync/networkjobs.cpp
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_INSTALL_MANDIR=/usr/man \
- -DCMAKE_INSTALL_SYSCONFDIR=/etc/$PRGNAM \
+ -DDATADIR=share \
-DCMAKE_BUILD_TYPE="Release" \
- -DBUILD_WITH_QT4=${BUILD_WITH_QT4:-"No"} \
..
make VERBOSE=1
- make doc
make install DESTDIR=$PKG
cd ..
@@ -105,7 +100,7 @@ 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 CHANGELOG.md CONTRIBUTING.md COPYING COPYING.documentation README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/owncloud-client/owncloud-client.info b/network/owncloud-client/owncloud-client.info
index 9b53c0684061..f1a9408d2dfe 100644
--- a/network/owncloud-client/owncloud-client.info
+++ b/network/owncloud-client/owncloud-client.info
@@ -1,10 +1,10 @@
PRGNAM="owncloud-client"
-VERSION="2.5.4.11654"
+VERSION="2.10.0.6519"
HOMEPAGE="https://owncloud.org/"
-DOWNLOAD="https://download.owncloud.com/desktop/stable/owncloudclient-2.5.4.11654.tar.xz"
-MD5SUM="cbc65677623df31956a4c4082a2c68a7"
+DOWNLOAD="https://download.owncloud.com/desktop/ownCloud/stable/2.10.0.6519/source/ownCloud-2.10.0.6519.tar.xz"
+MD5SUM="c09135d7139dd83a548dfa612976f39d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libcloudproviders"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu1@isaacyu1.com"