mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/onedrive: Updated for version 2.3.13.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
b9b78f41da
commit
dabc3af7bf
5 changed files with 31 additions and 11 deletions
|
@ -1,17 +1,18 @@
|
|||
A complete tool to interact with OneDrive on Linux.
|
||||
Built following the UNIX philosophy
|
||||
Built following the UNIX philosophy.
|
||||
|
||||
What's missing: while local changes are uploaded right away, remote changes are delayed.
|
||||
|
||||
After installing the package:
|
||||
1) For configuration and Usage, see
|
||||
1) For configuration and Usage, see
|
||||
/usr/doc/onedrive-$VERSION/docs/USAGE.md,
|
||||
/usr/doc/onedrive-$VERSION/config and
|
||||
man onedrive
|
||||
2) For Docker support, see
|
||||
2) For Docker support, see
|
||||
/usr/doc/onedrive-$VERSION/docs/Docker.md
|
||||
3) For Sharepoint group drive in Office 365 business or education, see
|
||||
3) For Sharepoint group drive in Office 365 business or education, see
|
||||
/usr/doc/onedrive-$VERSION/docs/Office365.md
|
||||
4) If you encounter any bugs you can report them here on Github:
|
||||
4) If you encounter any bugs you can report them here on Github:
|
||||
https://github.com/abraunegg/onedrive
|
||||
(see /usr/doc/onedrive-$VERSION/README.md for more details how to do this)
|
||||
|
||||
|
|
15
network/onedrive/doinst.sh
Normal file
15
network/onedrive/doinst.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
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/logrotate.d/onedrive.new
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for onedrive
|
||||
# Copyright 2019 Rob van Nues
|
||||
# Copyright 2019-2020 Rob van Nues
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -22,7 +22,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=onedrive
|
||||
VERSION=${VERSION:-2.3.12}
|
||||
VERSION=${VERSION:-2.3.13}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -89,6 +90,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mv $PKG/etc/logrotate.d/onedrive $PKG/etc/logrotate.d/onedrive.new
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
README.md LICENSE CHANGELOG.md docs \
|
||||
|
@ -99,6 +102,7 @@ rm -r $PKG/usr/share
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="onedrive"
|
||||
VERSION="2.3.12"
|
||||
VERSION="2.3.13"
|
||||
HOMEPAGE="https://github.com/abraunegg/onedrive/releases"
|
||||
DOWNLOAD="https://github.com/abraunegg/onedrive/archive/v2.3.12/onedrive-2.3.12.tar.gz"
|
||||
MD5SUM="34e7b88f60b1d839dbb757dc87dd5d4d"
|
||||
DOWNLOAD="https://github.com/abraunegg/onedrive/archive/v2.3.13/onedrive-2.3.13.tar.gz"
|
||||
MD5SUM="d36da03e2cdddf747be93c14baa066d6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="dmd"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
onedrive: onedrive (OneDrive Tool)
|
||||
onedrive:
|
||||
onedrive: A complete tool to interact with OneDrive on Linux.
|
||||
onedrive: Built following the UNIX philosophy
|
||||
onedrive: Built following the UNIX philosophy.
|
||||
onedrive:
|
||||
onedrive: https://github.com/abraunegg/onedrive
|
||||
onedrive:
|
||||
|
|
Loading…
Reference in a new issue