aboutsummaryrefslogtreecommitdiff
path: root/network/owncloud-client/owncloud-client.SlackBuild
diff options
context:
space:
mode:
authorChristopher Walker <kris240376@gmail.com>2015-08-15 12:46:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-15 12:46:16 +0700
commit00eefd3b1b7a14626b7cd9b4689f32a41b419020 (patch)
tree2070e8dbe4c4e4ab1105011a9232840c8a4c02cf /network/owncloud-client/owncloud-client.SlackBuild
parent4a738bf512b8c19f5c5c4286578575740789b66a (diff)
network/owncloud-client: Updated for version 1.8.4.
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.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/network/owncloud-client/owncloud-client.SlackBuild b/network/owncloud-client/owncloud-client.SlackBuild
index 90e03d3ab8dd8..acc1df17d2166 100644
--- a/network/owncloud-client/owncloud-client.SlackBuild
+++ b/network/owncloud-client/owncloud-client.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for owncloud-client
-# Copyright 2013-2014 Christopher Walker Copperas Cove, TX
+# Copyright 2013-2015 Christopher Walker Copperas Cove, TX
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=owncloud-client
-VERSION=${VERSION:-1.6.4}
+VERSION=${VERSION:-1.8.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=mirall
+SRCNAM=owncloudclient
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,6 +78,7 @@ cd build
-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 \
-DCMAKE_BUILD_TYPE="Release" \
..
@@ -94,6 +95,8 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rmdir $PKG/usr/man
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh