network/translate-shell: Updated for version 0.9.6.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
90c2f80de5
commit
56a79eed5a
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue