diff options
author | Ebben Aries <earies@dscp.org> | 2021-12-18 09:45:30 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-19 09:19:56 +0700 |
commit | c99dc9bb85ef88464c248dc6060a3a2c901fa4c9 (patch) | |
tree | cf7ef6ef9f1a73200241b2d536f1a363e3eaf231 /system/restic/restic.SlackBuild | |
parent | 6c069bb3d8ec20b2e09fd4b57017187390b2491c (diff) | |
download | slackbuilds-c99dc9bb85ef88464c248dc6060a3a2c901fa4c9.tar.gz |
system/restic: man/completion files for version 0.12.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/restic/restic.SlackBuild')
-rw-r--r-- | system/restic/restic.SlackBuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/system/restic/restic.SlackBuild b/system/restic/restic.SlackBuild index 875489f209..045f339144 100644 --- a/system/restic/restic.SlackBuild +++ b/system/restic/restic.SlackBuild @@ -82,11 +82,21 @@ find -L . \ mkdir -p $PKG/usr/bin 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/ + +mkdir -p $PKG/usr/share/bash-completion/completions +$PKG/usr/bin/$PRGNAM generate --bash-completion $PKG/usr/share/bash-completion/completions/restic + +mkdir -p $PKG/usr/share/zsh/site-functions +$PKG/usr/bin/$PRGNAM generate --zsh-completion $PKG/usr/share/zsh/site-functions/_restic + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION 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 |