[arch-commits] Commit in bat/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Wed Oct 10 12:21:47 UTC 2018
Date: Wednesday, October 10, 2018 @ 12:21:46
Author: arodseth
Revision: 392092
upgpkg: bat 0.7.1-2
Modified:
bat/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-10 10:33:39 UTC (rev 392091)
+++ PKGBUILD 2018-10-10 12:21:46 UTC (rev 392092)
@@ -3,7 +3,7 @@
pkgname=bat
pkgver=0.7.1
-pkgrel=1
+pkgrel=2
pkgdesc='Cat clone with syntax highlighting and git integration'
arch=('x86_64')
url='https://github.com/sharkdp/bat'
@@ -23,8 +23,17 @@
cd "$pkgname-$pkgver"
install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 doc/bat.1 "$pkgdir/usr/share/man/man1/bat.1"
install -Dm644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+
+ # For the upcoming version of bat
+ #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.zsh \
+ # "$pkgdir/usr/share/zsh/site-functions/_bat"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list