From 56a79eed5a63e18cbed50eccc2b602fc76a36d46 Mon Sep 17 00:00:00 2001 From: Azure Zanculmarktum Date: Fri, 17 Apr 2020 11:39:29 +0700 Subject: [PATCH] network/translate-shell: Updated for version 0.9.6.11. Signed-off-by: Willy Sudiarto Raharjo --- network/translate-shell/README | 2 +- network/translate-shell/slack-desc | 2 +- network/translate-shell/translate-shell.SlackBuild | 7 ++++--- network/translate-shell/translate-shell.info | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/network/translate-shell/README b/network/translate-shell/README index 7cd3d46a23..0f422b9d78 100644 --- a/network/translate-shell/README +++ b/network/translate-shell/README @@ -1,6 +1,6 @@ Translate Shell (formerly Google Translate CLI) is a command-line translator powered by Google Translate (default), Bing Translator, -Yandex.Translate, DeepL Translator and Apertium. +Yandex.Translate, and Apertium. If you prefer zsh over bash: $ TARGET=zsh ./translate-shell.SlackBuild diff --git a/network/translate-shell/slack-desc b/network/translate-shell/slack-desc index 102dd6e2b3..955c32dacb 100644 --- a/network/translate-shell/slack-desc +++ b/network/translate-shell/slack-desc @@ -10,7 +10,7 @@ translate-shell: translate-shell (a command-line translator) translate-shell: translate-shell: Translate Shell (formerly Google Translate CLI) is a command-line translate-shell: translator powered by Google Translate (default), Bing Translator, -translate-shell: Yandex.Translate, DeepL Translator and Apertium. +translate-shell: Yandex.Translate, and Apertium. translate-shell: translate-shell: translate-shell: diff --git a/network/translate-shell/translate-shell.SlackBuild b/network/translate-shell/translate-shell.SlackBuild index 712d4e73e1..dfc622e051 100644 --- a/network/translate-shell/translate-shell.SlackBuild +++ b/network/translate-shell/translate-shell.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for translate-shell -# Copyright 2018 Azure Zanculmarktum +# Copyright 2018, 2019, 2020 Azure Zanculmarktum # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=translate-shell -VERSION=${VERSION:-0.9.6.7} +VERSION=${VERSION:-0.9.6.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,6 +75,7 @@ sed -i \ -e '/^PREFIX/s,\(/usr\)/local,\1,' \ -e '/^TARGET/s,bash,'"$TARGET"',' \ -e '/\$(PREFIX)\/share\/man/s/\(\$(PREFIX)\)\/share\(\/man\)/\1\2/' \ + -e '/install \$(MANDIR)\/\$(COMMAND)\.1/s,install,& -m644,' \ Makefile make @@ -84,7 +85,7 @@ 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/doc/$PRGNAM-$VERSION -cp -a CONTRIBUTING.md LICENSE Makefile README.md README.template.md WAIVER $PKG/usr/doc/$PRGNAM-$VERSION +cp -p CONTRIBUTING.md LICENSE README.md README.template.md WAIVER $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/translate-shell/translate-shell.info b/network/translate-shell/translate-shell.info index c9859006a1..fdd3759d71 100644 --- a/network/translate-shell/translate-shell.info +++ b/network/translate-shell/translate-shell.info @@ -1,8 +1,8 @@ PRGNAM="translate-shell" -VERSION="0.9.6.7" +VERSION="0.9.6.11" HOMEPAGE="https://www.soimort.org/translate-shell/" -DOWNLOAD="https://github.com/soimort/translate-shell/archive/v0.9.6.7/translate-shell-0.9.6.7.tar.gz" -MD5SUM="ceed584244a77a9eb3c08d9dea2405ba" +DOWNLOAD="https://github.com/soimort/translate-shell/archive/v0.9.6.11/translate-shell-0.9.6.11.tar.gz" +MD5SUM="f40e7b0ee66e30ec15481336df58ecba" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""