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

Caleb Maclennan alerque at gemini.archlinux.org
Sat Aug 7 11:01:57 UTC 2021


    Date: Saturday, August 7, 2021 @ 11:01:57
  Author: alerque
Revision: 994646

Avoid fetching things for irrelevant architectures; test same features as built

Modified:
  sad/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-07 10:52:22 UTC (rev 994645)
+++ PKGBUILD	2021-08-07 11:01:57 UTC (rev 994646)
@@ -1,4 +1,5 @@
 # Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
 # Contributor: Joost Bremmer <contact at madeofmagicandwires dot online>
 # Contributor: Eliezio Oliveira <eliezio at pm.me>
 # Contributor: Matthew Gamble <internet at matthewgamble.net>
@@ -5,12 +6,12 @@
 
 pkgname=sad
 pkgver=0.4.8
-pkgrel=4
+pkgrel=5
 pkgdesc="Space Age seD"
 arch=('x86_64')
 url="https://github.com/ms-jpq/sad"
 license=('MIT')
-makedepends=('rust')
+makedepends=('cargo')
 optdepends=(
   'fzf: for tui usage'
   'diff-so-fancy: for diff colourizer'
@@ -29,17 +30,17 @@
   cp -f "$srcdir/Cargo.lock" Cargo.lock
 
   # download dependencies
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {
   cd "$pkgname-$pkgver"
-  cargo build --release --offline --locked --all-features
+  cargo build --frozen --release --all-features
 }
 
 check() {
   cd "$pkgname-$pkgver"
-  cargo test --locked
+  cargo test --frozen --all-features
 }
 
 package() {



More information about the arch-commits mailing list