[arch-commits] Commit in bat/trunk (PKGBUILD)

Alexander Rødseth arodseth at gemini.archlinux.org
Tue Aug 16 17:19:18 UTC 2022


    Date: Tuesday, August 16, 2022 @ 17:19:17
  Author: arodseth
Revision: 1266650

upgpkg: bat 0.21.0-3

Modified:
  bat/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-16 17:12:26 UTC (rev 1266649)
+++ PKGBUILD	2022-08-16 17:19:17 UTC (rev 1266650)
@@ -3,34 +3,27 @@
 
 pkgname=bat
 pkgver=0.21.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Cat clone with syntax highlighting and git integration'
 arch=(x86_64)
 url='https://github.com/sharkdp/bat'
 license=(APACHE MIT)
-depends=(gcc-libs libgit2 oniguruma)
+depends=(libgit2 oniguruma)
 makedepends=(clang cmake git rust)
 source=("git+$url#commit=405e5f74602d8f680168ef52350150921c696d54") # tag: v0.21.0
-b2sums=('SKIP')
+b2sums=(SKIP)
 
 prepare() {
-  cargo fetch \
-    --locked \
-    --manifest-path "$srcdir/$pkgname/Cargo.toml"
+  cargo fetch --locked --manifest-path $pkgname/Cargo.toml
 }
 
 build() {
   export CFLAGS+=' -ffat-lto-objects -w'
-  cargo build \
-    --locked \
-    --manifest-path "$srcdir/$pkgname/Cargo.toml" \
-    --release
+  cargo build --locked --manifest-path $pkgname/Cargo.toml --release
 }
 
 check() {
-  cargo test \
-    --locked \
-    --manifest-path "$srcdir/$pkgname/Cargo.toml"
+  cargo test --locked --manifest-path $pkgname/Cargo.toml
 }
 
 package() {



More information about the arch-commits mailing list