[arch-commits] Commit in bat/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Mar 22 20:06:57 UTC 2020
Date: Sunday, March 22, 2020 @ 20:06:57
Author: arodseth
Revision: 603625
upgpkg: bat 0.13.0-1
Modified:
bat/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-22 19:46:49 UTC (rev 603624)
+++ PKGBUILD 2020-03-22 20:06:57 UTC (rev 603625)
@@ -24,6 +24,10 @@
# Package the executable
install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
+ # Package the man page
+ find "$srcdir" -name bat.1 -exec install -Dm644 {} \
+ "$pkgdir/usr/share/man/man1/bat.1" \;
+
# Package the license files
install -Dm644 LICENSE-APACHE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
@@ -30,13 +34,9 @@
install -Dm644 LICENSE-MIT \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
- # Package the man page
- find "$srcdir" -name bat.1 -exec install -Dm644 {} \
- "$pkgdir/usr/share/man/man1/bat.1" \;
-
- # Package the fish completion file
- find "$srcdir" -name fish-complete -exec install -Dm644 {} \
- "$pkgdir/usr/local/share/fish/vendor_completions.d/fish-complete" \;
+ # Package the fish completion file (already included in fish)
+ #find "$srcdir" -name bat.fish -exec install -Dm644 {} \
+ # "$pkgdir/usr/share/fish/completions/bat.fish" \;
}
# getver: github.com/sharkdp/bat/releases/latest
More information about the arch-commits
mailing list