diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-02-09 00:08:50 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 15:37:08 +0700 |
commit | 59e6121d013ce216cc83dac2cb55dd4f952a3f1e (patch) | |
tree | 19d9818ac8088f93014c4d88dd3a366b322b0258 /network/owncloud-client/owncloud-client.SlackBuild | |
parent | 06d387ff3ec2369b8368d540b52745e07cc30717 (diff) | |
download | slackbuilds-59e6121d013ce216cc83dac2cb55dd4f952a3f1e.tar.gz |
network/owncloud-client: Update for 2.10.0.6519
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/owncloud-client/owncloud-client.SlackBuild')
-rw-r--r-- | network/owncloud-client/owncloud-client.SlackBuild | 15 |
1 files changed, 5 insertions, 10 deletions
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 <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 |