mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/owncloud-client: Update for 2.10.0.6519
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
06d387ff3e
commit
59e6121d01
2 changed files with 9 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue