Date: Monday, February 11, 2019 @ 19:40:41 Author: arodseth Revision: 431759
upgpkg: bat 0.10.0-1 Modified: bat/trunk/PKGBUILD ----------+ PKGBUILD | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-02-11 19:33:41 UTC (rev 431758) +++ PKGBUILD 2019-02-11 19:40:41 UTC (rev 431759) @@ -2,16 +2,16 @@ # Contributor: Wesley Moore <[email protected]> pkgname=bat -pkgver=0.9.0 +pkgver=0.10.0 pkgrel=1 pkgdesc='Cat clone with syntax highlighting and git integration' -arch=('x86_64') +arch=(x86_64) url='https://github.com/sharkdp/bat' -license=('APACHE' 'MIT') -makedepends=('cmake' 'rust') -depends=('libssh2') +license=(APACHE MIT) +makedepends=(cmake rust) +depends=(libssh2) source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('4ce9c118cf5da1159a882dea389f3c5737b5d98192e9a619b0fe8c1730341cc6') +sha256sums=('54dd396e8f20d44c6032a32339f45eab46a69b6134e74a704f8d4a27c18ddc3e') build() { cd "$pkgname-$pkgver" @@ -24,17 +24,6 @@ install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname" install -Dm644 doc/bat.1 "$pkgdir/usr/share/man/man1/bat.1" - - # 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 \ @@ -41,4 +30,5 @@ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT" } +# getver: github.com/sharkdp/bat/releases/latest # vim: ts=2 sw=2 et:
