diff options
Diffstat (limited to 'network/onedrive/onedrive.SlackBuild')
-rw-r--r-- | network/onedrive/onedrive.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/network/onedrive/onedrive.SlackBuild b/network/onedrive/onedrive.SlackBuild index c44dea022157e..f84117ed07fa5 100644 --- a/network/onedrive/onedrive.SlackBuild +++ b/network/onedrive/onedrive.SlackBuild @@ -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} |