summaryrefslogtreecommitdiffstats
path: root/system/restic/restic.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2022-08-27 08:20:31 +0900
committer Andrew Clemons <andrew.clemons@gmail.com>2022-08-27 08:24:51 +0900
commitf22f092dfb538a5380b4662c7e8df5f606317977 (patch)
tree54b68b0615b31eaec164af88720f5ba19ed57f65 /system/restic/restic.SlackBuild
parent245df716edae3751dcffc66ed4d3d273ec54e16b (diff)
downloadslackbuilds-f22f092dfb538a5380b4662c7e8df5f606317977.tar.gz
slackbuilds-f22f092dfb538a5380b4662c7e8df5f606317977.tar.xz
system/restic: Compress man pages, fix doinst.sh errors.
The zsh and bash completion files are not created with a .new suffix so this doinst.sh does not have anything to do. Removed now completely. cat: usr/share/bash-completion/completions/restic.new: No \ such file or directory cat: usr/share/zsh/site-functions/_restic.new: No such \ file or directory Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'system/restic/restic.SlackBuild')
-rw-r--r--system/restic/restic.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/restic/restic.SlackBuild b/system/restic/restic.SlackBuild
index 09b22811f3..09be5d0bbf 100644
--- a/system/restic/restic.SlackBuild
+++ b/system/restic/restic.SlackBuild
@@ -85,6 +85,9 @@ install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/man/man1
$PKG/usr/bin/$PRGNAM generate --man $PKG/usr/man/man1/
+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
+
mkdir -p $PKG/usr/share/bash-completion/completions
$PKG/usr/bin/$PRGNAM generate --bash-completion $PKG/usr/share/bash-completion/completions/restic
@@ -96,7 +99,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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