diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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" |