Date: Sunday, November 11, 2018 @ 14:00:08 Author: arodseth Revision: 406364
upgpkg: bat 0.9.0-1 Modified: bat/trunk/PKGBUILD ----------+ PKGBUILD | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-11-11 13:53:49 UTC (rev 406363) +++ PKGBUILD 2018-11-11 14:00:08 UTC (rev 406364) @@ -2,7 +2,7 @@ # Contributor: Wesley Moore <[email protected]> pkgname=bat -pkgver=0.8.0 +pkgver=0.9.0 pkgrel=1 pkgdesc='Cat clone with syntax highlighting and git integration' arch=('x86_64') @@ -9,9 +9,9 @@ url='https://github.com/sharkdp/bat' license=('APACHE' 'MIT') makedepends=('cmake' 'rust') -depends=('curl' 'libssh2') +depends=('libssh2') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('577664399cf24695f51b702350c1a3fe460cd296a6a12ed0938bb937a4b3b00d') +sha256sums=('4ce9c118cf5da1159a882dea389f3c5737b5d98192e9a619b0fe8c1730341cc6') build() { cd "$pkgname-$pkgver" @@ -24,12 +24,17 @@ install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname" install -Dm644 doc/bat.1 "$pkgdir/usr/share/man/man1/bat.1" - install -Dm644 target/release/build/bat-*/out/bat.bash \ - "$pkgdir/usr/share/bash-completion/completions/bat" - install -Dm644 target/release/build/bat-*/out/bat.fish \ - "$pkgdir/usr/share/fish/vendor_completions.d/bat.fish" - install -Dm644 target/release/build/bat-*/out/_bat \ - "$pkgdir/usr/share/zsh/site-functions/_bat" + + # Shell completions will probably be re-enabled for the next release of bat + # See: https://github.com/sharkdp/bat/issues/372 + + #install -Dm644 target/release/build/bat-*/out/bat.bash \ + # "$pkgdir/usr/share/bash-completion/completions/bat" + #install -Dm644 target/release/build/bat-*/out/bat.fish \ + # "$pkgdir/usr/share/fish/vendor_completions.d/bat.fish" + #install -Dm644 target/release/build/bat-*/out/_bat \ + # "$pkgdir/usr/share/zsh/site-functions/_bat" + install -Dm644 LICENSE-APACHE \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE" install -Dm644 LICENSE-MIT \
