aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 12:04:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:19:11 +0700
commitdcbf9898e2e1ef3d43c02339690012a317613e60 (patch)
treea37a7a901330682a0806de54cd6e93c310b95b02 /network
parent6bb0fe064ce129defdab1c8df476733ef3b5bef4 (diff)
network/nextcloud-client: Removed (use nextcloud-desktop).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/nextcloud-client/README12
-rw-r--r--network/nextcloud-client/doinst.sh24
-rw-r--r--network/nextcloud-client/nextcloud-client.SlackBuild128
-rw-r--r--network/nextcloud-client/nextcloud-client.info12
-rw-r--r--network/nextcloud-client/nextcloud.desktop8
-rw-r--r--network/nextcloud-client/slack-desc19
6 files changed, 0 insertions, 203 deletions
diff --git a/network/nextcloud-client/README b/network/nextcloud-client/README
deleted file mode 100644
index 314da9e1a3b1..000000000000
--- a/network/nextcloud-client/README
+++ /dev/null
@@ -1,12 +0,0 @@
-The Nextcloud Client is a file synchronization desktop utility. It
-synchronizes files on your local computer, tablet, or hand-held device
-with a Nextcloud Server. If you make a change to the files on one
-device, the change is propagated to all other synchronized devices
-using the desktop synchronization clients.
-
-Normally, you start the client by clicking on the desktop icon or
-by starting it from the client application menu. After starting, a
-Nextcloud icon appears in the computer system tray or on your tablet
-or handheld device.
-
-Nextcloud is an actively maintained fork of ownCloud.
diff --git a/network/nextcloud-client/doinst.sh b/network/nextcloud-client/doinst.sh
deleted file mode 100644
index bb8462acaab2..000000000000
--- a/network/nextcloud-client/doinst.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config "etc/Nextcloud/sync-exclude.lst.new"
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/nextcloud-client/nextcloud-client.SlackBuild b/network/nextcloud-client/nextcloud-client.SlackBuild
deleted file mode 100644
index 5b2f14354ae4..000000000000
--- a/network/nextcloud-client/nextcloud-client.SlackBuild
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for nextcloud-client
-
-# Copyright 2013-2016 Christopher Walker Copperas Cove, TX
-# Copyright 2016-2018 Chris Abela <kristofru@gmail.com>, Malta
-# Copyright 2017-2018 Rodrigo Gimenez <estrod@zoho.com>, Argentina
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# This is based on the owncloud-client slackbuild in https://slackbuilds.org
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=nextcloud-client
-VERSION=${VERSION:-2.3.3}
-OWNCLOUD_VERSION=${OWNCLOUD_VERSION:-2.4.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-SRCNAM=client_theming
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM
-tar xvf $CWD/client_theming-$VERSION.tar.gz
-mv $SRCNAM-$VERSION $SRCNAM
-cd $SRCNAM
-tar xvf $CWD/client-$OWNCLOUD_VERSION.tar.gz
-rmdir client
-mv client-$OWNCLOUD_VERSION client
-
-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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-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 \
- -DCMAKE_BUILD_TYPE="Release" \
- -D OEM_THEME_DIR=$(realpath ../nextcloudtheme) \
- ../client
- make VERBOSE=1
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-[ -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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cat $CWD/nextcloud.desktop > $PKG/usr/share/applications/nextcloud.desktop
-mv $PKG/etc/Nextcloud/sync-exclude.lst $PKG/etc/Nextcloud/sync-exclude.lst.new
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nextcloud-client/nextcloud-client.info b/network/nextcloud-client/nextcloud-client.info
deleted file mode 100644
index 963de4b649ee..000000000000
--- a/network/nextcloud-client/nextcloud-client.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="nextcloud-client"
-VERSION="2.3.3"
-HOMEPAGE="https://nextcloud.com/"
-DOWNLOAD="https://github.com/nextcloud/client_theming/archive/v2.3.3/client_theming-2.3.3.tar.gz \
- https://github.com/owncloud/client/archive/v2.4.2/client-2.4.2.tar.gz"
-MD5SUM="ad74d32b6c9f6da1b8e145fd586ad13e \
- c0a01710f340a840cf38e4573034be2b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Rodrigo Gimenez"
-EMAIL="estrod@zoho.com"
diff --git a/network/nextcloud-client/nextcloud.desktop b/network/nextcloud-client/nextcloud.desktop
deleted file mode 100644
index e816fcc710ee..000000000000
--- a/network/nextcloud-client/nextcloud.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Nextcloud desktop sync client
-Comment=Nextcloud desktop sync client
-Exec=/usr/bin/nextcloud
-Icon=Nextcloud
-Type=Application
-GenericName=Folder Sync
-Categories=Network;FileTransfer;X-Cloud;X-Sync;
diff --git a/network/nextcloud-client/slack-desc b/network/nextcloud-client/slack-desc
deleted file mode 100644
index 76d70047e18c..000000000000
--- a/network/nextcloud-client/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-nextcloud-client: nextcloud-client (Nextcloud Desktop Client)
-nextcloud-client:
-nextcloud-client: The Nextcloud Client is a file synchronization desktop utility. It
-nextcloud-client: synchronizes files on your local computer, tablet, or hand-held
-nextcloud-client: device with a Nextcloud Server. If you make a change to the files on
-nextcloud-client: one device, the change is propagated to all other synchronized
-nextcloud-client: devices using the desktop synchronization clients.
-nextcloud-client:
-nextcloud-client: Nextcloud is an actively maintained fork of ownCloud.
-nextcloud-client:
-nextcloud-client: Homepage: http://nextcloud.com/