aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzure Zanculmarktum <zanculmarktum@gmail.com>2020-04-17 11:39:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:00:18 +0700
commit56a79eed5a63e18cbed50eccc2b602fc76a36d46 (patch)
tree33e6bf18c63b0ec1624b74ec716523aa972081a3
parent90c2f80de5e0cf6931153c17cc25cc2f9326b1cf (diff)
network/translate-shell: Updated for version 0.9.6.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/translate-shell/README2
-rw-r--r--network/translate-shell/slack-desc2
-rw-r--r--network/translate-shell/translate-shell.SlackBuild7
-rw-r--r--network/translate-shell/translate-shell.info6
4 files changed, 9 insertions, 8 deletions
diff --git a/network/translate-shell/README b/network/translate-shell/README
index 7cd3d46a23ac..0f422b9d78ac 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 102dd6e2b329..955c32dacb37 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 712d4e73e169..dfc622e0513b 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 <zanculmarktum@gmail.com>
+# Copyright 2018, 2019, 2020 Azure Zanculmarktum <zanculmarktum@gmail.com>
# 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 c9859006a1e7..fdd3759d717d 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=""