diff --git a/network/owncloud-client/owncloud-client.SlackBuild b/network/owncloud-client/owncloud-client.SlackBuild index 0e95208c94..bbac69aadf 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 +# Copyright 2020-2022 Isaac Yu # 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 $/a #include ' 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 9b53c06840..f1a9408d2d 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"