network/owncloud-client: Updated for version 2.0.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christopher Walker 2015-09-02 15:47:57 +07:00 committed by Willy Sudiarto Raharjo
parent c7ca58ecfb
commit ada5210851
2 changed files with 11 additions and 11 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=owncloud-client
VERSION=${VERSION:-1.8.4}
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -66,10 +66,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@ -83,6 +83,7 @@ cd build
-DCMAKE_BUILD_TYPE="Release" \
..
make VERBOSE=1
make doc
make install DESTDIR=$PKG
cd ..
@ -90,12 +91,11 @@ 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 CONTRIBUTING.md COPYING COPYING.documentation ChangeLog README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rmdir $PKG/usr/man
[ -d "$PKG/usr/man" ] && find $PKG/usr/man -type f -exec gzip -9 '{}' \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="owncloud-client"
VERSION="1.8.4"
VERSION="2.0.0"
HOMEPAGE="http://owncloud.org/"
DOWNLOAD="https://download.owncloud.com/desktop/stable/owncloudclient-1.8.4.tar.xz"
MD5SUM="ce82c234fca674062599b3ceb4ac50c6"
DOWNLOAD="https://download.owncloud.com/desktop/stable/owncloudclient-2.0.0.tar.xz"
MD5SUM="61fe12826931af8645661b34a84e7379"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qtkeychain"