[arch-commits] Commit in bat/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri Nov 27 09:29:02 UTC 2020
Date: Friday, November 27, 2020 @ 09:29:02
Author: arodseth
Revision: 763999
archrelease: copy trunk to community-x86_64
Added:
bat/repos/community-x86_64/PKGBUILD
(from rev 763998, bat/trunk/PKGBUILD)
Deleted:
bat/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-27 09:28:57 UTC (rev 763998)
+++ PKGBUILD 2020-11-27 09:29:02 UTC (rev 763999)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Wesley Moore <wes at wezm.net>
-
-pkgname=bat
-pkgver=0.16.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=6258dda0f851256c2e1d65cf87e997023a4f997b") # tag: v0.16.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 already included in fish
-}
Copied: bat/repos/community-x86_64/PKGBUILD (from rev 763998, bat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-27 09:29:02 UTC (rev 763999)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Wesley Moore <wes at wezm.net>
+
+pkgname=bat
+pkgver=0.17.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=(clang cmake git rust)
+source=("git+$url#commit=6d981498d80aa0127df9547ec0ac69d8314b29e5") # tag: v0.17.1
+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
+}
More information about the arch-commits
mailing list