diff options
author | Wu Zhenyu | 2023-03-04 00:55:48 +0800 |
---|---|---|
committer | Wu Zhenyu | 2023-03-04 00:55:48 +0800 |
commit | eaf4dece4b3031e5c90bd28245134497df36844f (patch) | |
tree | 132d7abf1094ecb7b85bb3e3ea540c5b759dbb3e | |
parent | df1277601bc2074cdfce80654121ece4eb6f6b9c (diff) | |
download | aur-eaf4dece4b3031e5c90bd28245134497df36844f.tar.gz |
:alien: update to 0.0.14;
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 16 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = python-translate-shell pkgdesc = Translate text by google, bing, youdaozhiyun, haici, stardict, etc at same time from CLI, GUI (GNU/Linux, Android, macOS and Windows), REPL, python, shell and vim. - pkgver = 0.0.13 + pkgver = 0.0.14 pkgrel = 1 url = https://github.com/Freed-Wu/translate-shell arch = any @@ -18,19 +18,19 @@ pkgbase = python-translate-shell optdepends = espeak-ng: speaker support optdepends = festival: speaker support conflicts = translate-shell - source = https://files.pythonhosted.org/packages/py3/t/translate-shell/translate_shell-0.0.13-py3-none-any.whl + source = https://files.pythonhosted.org/packages/py3/t/translate-shell/translate_shell-0.0.14-py3-none-any.whl source = https://raw.githubusercontent.com/Freed-Wu/translate-shell/main/assets/desktop/translate-shell.desktop source = https://raw.githubusercontent.com/Freed-Wu/translate-shell/main/LICENSE - source = https://github.com/Freed-Wu/translate-shell/releases/download/0.0.13/trans.1.gz - source = https://github.com/Freed-Wu/translate-shell/releases/download/0.0.13/trans - source = https://github.com/Freed-Wu/translate-shell/releases/download/0.0.13/_trans - source = https://github.com/Freed-Wu/translate-shell/releases/download/0.0.13/trans.csh - sha256sums = 04b2f9c6c745b20d01fed4a314d0d7f0df431b74781dfc518f85ebea2bd7cf6b - sha256sums = 3738722bf4bf09ad4c14c15c07fdbb4ea52da8c38e6ff1c535d05a8e06646f67 + source = https://github.com/Freed-Wu/translate-shell/releases/download/0.0.14/trans.1.gz + source = https://github.com/Freed-Wu/translate-shell/releases/download/0.0.14/trans + source = https://github.com/Freed-Wu/translate-shell/releases/download/0.0.14/_trans + source = https://github.com/Freed-Wu/translate-shell/releases/download/0.0.14/trans.csh + sha256sums = ff3759f9d3d411a301e57639fed0ebff60d2445dadbde9de7b633fb301613b9a + sha256sums = 11f0c6092d30867b09ea9f2f1562169ce8cc0c4476181dd62dbad63b16752972 sha256sums = 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 - sha256sums = 2bde1d386b54976c21971e191bb784a660175f5c639fa8808d78098949b28ac3 + sha256sums = 3b0d97d4f9a17139e7044c2e18134124a0b7fd6ec535f94e307233970badf4df sha256sums = be02c00e4105a86d9fbbc065c5b6aab250b45458d724bbcc51372f419816a30c sha256sums = 9782ed032f0c5e4f3ee6cd10b340b04fb28d3c427918a04dc7e43f92b0f546fb - sha256sums = ffd0548f37a8a9e6c80f054c718fe522f1f7395b541c49f882170ee4e0fdbea2 + sha256sums = 4910b97b57c61a8cfeef0b3c20a333afaadfc644798ce34b84a92b64baa37708 pkgname = python-translate-shell @@ -4,7 +4,7 @@ # $ updaurpkg --apply _repo=Freed-Wu/translate-shell _source_type=pypi-releases -_upstreamver='0.0.13' +_upstreamver='0.0.14' _pkgname=$(tr A-Z a-z <<<${_repo##*/}) _pypi_package=$_pkgname @@ -41,19 +41,19 @@ source=( "$url/releases/download/$pkgver/_$_bin" "$url/releases/download/$pkgver/$_bin.csh" ) -sha256sums=('04b2f9c6c745b20d01fed4a314d0d7f0df431b74781dfc518f85ebea2bd7cf6b' - '3738722bf4bf09ad4c14c15c07fdbb4ea52da8c38e6ff1c535d05a8e06646f67' +sha256sums=('ff3759f9d3d411a301e57639fed0ebff60d2445dadbde9de7b633fb301613b9a' + '11f0c6092d30867b09ea9f2f1562169ce8cc0c4476181dd62dbad63b16752972' '3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986' - '2bde1d386b54976c21971e191bb784a660175f5c639fa8808d78098949b28ac3' + '3b0d97d4f9a17139e7044c2e18134124a0b7fd6ec535f94e307233970badf4df' 'be02c00e4105a86d9fbbc065c5b6aab250b45458d724bbcc51372f419816a30c' '9782ed032f0c5e4f3ee6cd10b340b04fb28d3c427918a04dc7e43f92b0f546fb' - 'ffd0548f37a8a9e6c80f054c718fe522f1f7395b541c49f882170ee4e0fdbea2') + '4910b97b57c61a8cfeef0b3c20a333afaadfc644798ce34b84a92b64baa37708') package() { cd "$srcdir" || return 1 python -m installer --destdir="$pkgdir" ./*.whl - install -Dm644 "$pkgdir$(python -c'import sys; print(sys.path[-1])')/${_pkgname//-/_}/assets/images/icon.png" -t "$pkgdir/usr/share/$_pkgname/images" + install -Dm644 "$pkgdir$(python -c'import sys; print(sys.path[-1])')/${_pkgname//-/_}/assets/images/$_pkgname.png" -t "$pkgdir/usr/share/icons/hicolor/36x36/apps/" install -Dm644 "$_pkgname.desktop" -t "$pkgdir/usr/share/applications" install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" install -Dm644 "$_bin.1.gz" -t "$pkgdir/usr/share/man/man1" |