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

Alexander Rødseth arodseth at archlinux.org
Wed Mar 3 21:48:55 UTC 2021


    Date: Wednesday, March 3, 2021 @ 21:48:55
  Author: arodseth
Revision: 879530

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 43 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-03 21:48:49 UTC (rev 879529)
+++ PKGBUILD	2021-03-03 21:48:55 UTC (rev 879530)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Wesley Moore <wes at wezm.net>
-
-pkgname=bat
-pkgver=0.18.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=(clang cmake git rust)
-source=("git+$url#commit=b8a18d3ebb5b29162c346b74174239ea077f0796") # tag: v0.18.0
-sha256sums=('SKIP')
-
-build() {
-  cargo build \
-    --manifest-path "$srcdir/$pkgname/Cargo.toml" \
-    --release
-}
-
-package() {
-  install -Dm755 $pkgname/target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
-
-  # Package licenses
-  install -Dm644 $pkgname/LICENSE-APACHE \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
-  install -Dm644 $pkgname/LICENSE-MIT \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-
-  # Package the man page
-  find $pkgname/target/release -name bat.1 -type f \
-    -exec install -Dm644 {} "$pkgdir/usr/share/man/man1/bat.1" \;
-
-  # Package the zsh completion file (not in zsh-completions yet)
-  find $pkgname/target/release -name bat.zsh -type f \
-    -exec install -Dm644 {} "$pkgdir/usr/share/zsh/site-functions/_bat" \;
-
-  # The fish completion file is included in the fish package
-}

Copied: bat/repos/community-x86_64/PKGBUILD (from rev 879529, bat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-03 21:48:55 UTC (rev 879530)
@@ -0,0 +1,43 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Wesley Moore <wes at wezm.net>
+
+pkgname=bat
+pkgver=0.18.0
+pkgrel=2
+pkgdesc='Cat clone with syntax highlighting and git integration'
+arch=(x86_64)
+url='https://github.com/sharkdp/bat'
+license=(APACHE MIT)
+makedepends=(clang cmake git rust)
+source=("git+$url#commit=b8a18d3ebb5b29162c346b74174239ea077f0796") # tag: v0.18.0
+sha256sums=('SKIP')
+
+build() {
+  cargo build \
+    --manifest-path "$srcdir/$pkgname/Cargo.toml" \
+    --release
+}
+
+package() {
+  install -Dm755 $pkgname/target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
+
+  # Package licenses
+  install -Dm644 $pkgname/LICENSE-APACHE \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
+  install -Dm644 $pkgname/LICENSE-MIT \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+
+  cd $pkgname/target/release/build
+
+  # Package the man page
+  find . -name bat.1 -type f -exec install -Dm644 {} \
+    "$pkgdir/usr/share/man/man1/bat.1" \;
+
+  # Package the zsh completion file (not in zsh-completions yet)
+  find . -name bat.zsh -type f -exec install -Dm644 {} \
+    "$pkgdir/usr/share/zsh/site-functions/_bat" \;
+
+  # Package the fish completion
+  find . -name bat.fish -type f -exec install -Dm644 {} \
+    "$pkgdir/usr/share/fish/vendor_completions.d/bat.fish" \;
+}



More information about the arch-commits mailing list