aboutsummaryrefslogtreecommitdiff
path: root/network/owncloud-client/owncloud-client.SlackBuild
diff options
context:
space:
mode:
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