summaryrefslogtreecommitdiffstats
path: root/network/owncloud-client
diff options
context:
space:
mode:
Diffstat (limited to 'network/owncloud-client')
-rw-r--r--network/owncloud-client/README26
-rw-r--r--network/owncloud-client/owncloud-client.SlackBuild25
-rw-r--r--network/owncloud-client/owncloud-client.info12
3 files changed, 29 insertions, 34 deletions
diff --git a/network/owncloud-client/README b/network/owncloud-client/README
index f33bd42c4b..6d1aeed860 100644
--- a/network/owncloud-client/README
+++ b/network/owncloud-client/README
@@ -1,18 +1,8 @@
-The ownCloud Sync Client is a desktop program you install on your computer.
-You specify one or more directories on the local machine to sync with your
-ownCloud server, and always have your latest files wherever you are. Make
-a change to the files on one computer, it will flow across the others using
-the desktop sync clients.
-
-This package optionally requires the Sphinx package in order to create its
-man pages.
-
-Note: As of version 2.3.3, qt4 support was dropped and this package requires
- qt5-webkit. You will also need to build qtkeychain with qt5.
-
-Note: If you wish to try building this package against qt4 you will need to
- build qtkeychain with qt4, and build this package with BUILD_WITH_QT4
- set to 'yes'. There are no guarantees that this will work.
- For example:
-
- BUILD_WITH_QT4=yes ./owncloud-client.SlackBuild
+The ownCloud Sync Client is a desktop program you install on your
+computer. You specify one or more directories on the local machine
+to sync with your ownCloud server, and always have your latest files
+wherever you are. Make a change to the files on one computer, it will
+flow across the others using the desktop sync clients.
+
+This package optionally requires the Sphinx package in order to create
+its man pages.
diff --git a/network/owncloud-client/owncloud-client.SlackBuild b/network/owncloud-client/owncloud-client.SlackBuild
index 0ee0dd35aa..7a014c6a9d 100644
--- a/network/owncloud-client/owncloud-client.SlackBuild
+++ b/network/owncloud-client/owncloud-client.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for owncloud-client
# Copyright 2013-2018 Christopher Walker Kempner, TX
+# Copyright 2020-2022 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=owncloud-client
-VERSION=${VERSION:-2.4.2}
+VERSION=${VERSION:-2.11.1.8946}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=owncloudclient
+SRCNAM=ownCloud
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,14 +85,11 @@ cd build
-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 ..
@@ -92,7 +97,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
@@ -106,4 +111,4 @@ cat $CWD/owncloud.desktop > $PKG/usr/share/applications/owncloud.desktop
mv $PKG/etc/ownCloud/sync-exclude.lst $PKG/etc/ownCloud/sync-exclude.lst.new
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/owncloud-client/owncloud-client.info b/network/owncloud-client/owncloud-client.info
index 118f044e16..b2e1f344be 100644
--- a/network/owncloud-client/owncloud-client.info
+++ b/network/owncloud-client/owncloud-client.info
@@ -1,10 +1,10 @@
PRGNAM="owncloud-client"
-VERSION="2.4.2"
+VERSION="2.11.1.8946"
HOMEPAGE="https://owncloud.org/"
-DOWNLOAD="https://download.owncloud.com/desktop/stable/owncloudclient-2.4.2.tar.xz"
-MD5SUM="0f1d03650888864ffb045162ef9de49d"
+DOWNLOAD="https://download.owncloud.com/desktop/ownCloud/stable/2.11.1.8946/source/ownCloud-2.11.1.8946.tar.xz"
+MD5SUM="0143df7cea72bf29874ae429e7a5f6f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-webkit qtkeychain"
-MAINTAINER="Christopher Walker"
-EMAIL="kris240376@gmail.com"
+REQUIRES="libcloudproviders"
+MAINTAINER="orphaned (no maintainer)"
+EMAIL="nobody@domain.com"