[arch-commits] Commit in bat/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Nov 11 14:00:21 UTC 2018
Date: Sunday, November 11, 2018 @ 14:00:21
Author: arodseth
Revision: 406365
archrelease: copy trunk to community-x86_64
Added:
bat/repos/community-x86_64/PKGBUILD
(from rev 406364, bat/trunk/PKGBUILD)
Deleted:
bat/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 44 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-11 14:00:08 UTC (rev 406364)
+++ PKGBUILD 2018-11-11 14:00:21 UTC (rev 406365)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Wesley Moore <wes at wezm.net>
-
-pkgname=bat
-pkgver=0.8.0
-pkgrel=1
-pkgdesc='Cat clone with syntax highlighting and git integration'
-arch=('x86_64')
-url='https://github.com/sharkdp/bat'
-license=('APACHE' 'MIT')
-makedepends=('cmake' 'rust')
-depends=('curl' 'libssh2')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('577664399cf24695f51b702350c1a3fe460cd296a6a12ed0938bb937a4b3b00d')
-
-build() {
- cd "$pkgname-$pkgver"
-
- cargo build --release
-}
-
-package() {
- 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 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 \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-}
-
-# vim: ts=2 sw=2 et:
Copied: bat/repos/community-x86_64/PKGBUILD (from rev 406364, bat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-11 14:00:21 UTC (rev 406365)
@@ -0,0 +1,44 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Wesley Moore <wes at wezm.net>
+
+pkgname=bat
+pkgver=0.9.0
+pkgrel=1
+pkgdesc='Cat clone with syntax highlighting and git integration'
+arch=('x86_64')
+url='https://github.com/sharkdp/bat'
+license=('APACHE' 'MIT')
+makedepends=('cmake' 'rust')
+depends=('libssh2')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('4ce9c118cf5da1159a882dea389f3c5737b5d98192e9a619b0fe8c1730341cc6')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cargo build --release
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ 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 \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list