[arch-commits] Commit in bat/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Wed Oct 10 12:21:54 UTC 2018


    Date: Wednesday, October 10, 2018 @ 12:21:54
  Author: arodseth
Revision: 392093

archrelease: copy trunk to community-x86_64

Added:
  bat/repos/community-x86_64/PKGBUILD
    (from rev 392092, bat/trunk/PKGBUILD)
Deleted:
  bat/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   69 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 39 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-10 12:21:46 UTC (rev 392092)
+++ PKGBUILD	2018-10-10 12:21:54 UTC (rev 392093)
@@ -1,30 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Wesley Moore <wes at wezm.net>
-
-pkgname=bat
-pkgver=0.7.1
-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=('5863895e6ac95f5349da95ff74e196c4b365af3fc3f4a1376cab797df493b7a4')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  cargo build --release
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
-  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 392092, bat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-10 12:21:54 UTC (rev 392093)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Wesley Moore <wes at wezm.net>
+
+pkgname=bat
+pkgver=0.7.1
+pkgrel=2
+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=('5863895e6ac95f5349da95ff74e196c4b365af3fc3f4a1376cab797df493b7a4')
+
+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 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