[arch-commits] Commit in (14 files)

Daniel M. Capella polyzen at gemini.archlinux.org
Fri Dec 3 05:19:25 UTC 2021


    Date: Friday, December 3, 2021 @ 05:19:24
  Author: polyzen
Revision: 1064720

Use latest Rust packaging guidelines

https://wiki.archlinux.org/index.php?title=Rust_package_guidelines&diff=685804&oldid=684293
https://wiki.archlinux.org/index.php?title=Rust_package_guidelines&diff=690909&oldid=690907
https://wiki.archlinux.org/index.php?title=Rust_package_guidelines&diff=690939&oldid=690938

Modified:
  alacritty/trunk/PKGBUILD
  b3sum/trunk/PKGBUILD
  diskus/trunk/PKGBUILD
  gitprompt-rs/trunk/PKGBUILD
  hacksaw/trunk/PKGBUILD
  lychee-link-checker/trunk/PKGBUILD
  newsboat/trunk/PKGBUILD
  rink/trunk/PKGBUILD
  rust-analyzer/trunk/PKGBUILD
  shotgun/trunk/PKGBUILD
  skim/trunk/PKGBUILD
  toastify/trunk/PKGBUILD
  tree-sitter/trunk/PKGBUILD
  vivid/trunk/PKGBUILD

------------------------------------+
 alacritty/trunk/PKGBUILD           |   10 ++++++++--
 b3sum/trunk/PKGBUILD               |    6 +++---
 diskus/trunk/PKGBUILD              |    6 +++---
 gitprompt-rs/trunk/PKGBUILD        |    2 +-
 hacksaw/trunk/PKGBUILD             |    2 +-
 lychee-link-checker/trunk/PKGBUILD |    2 +-
 newsboat/trunk/PKGBUILD            |    2 +-
 rink/trunk/PKGBUILD                |    6 +++---
 rust-analyzer/trunk/PKGBUILD       |    2 +-
 shotgun/trunk/PKGBUILD             |    2 +-
 skim/trunk/PKGBUILD                |    6 +++---
 toastify/trunk/PKGBUILD            |    2 +-
 tree-sitter/trunk/PKGBUILD         |    2 +-
 vivid/trunk/PKGBUILD               |    2 +-
 14 files changed, 29 insertions(+), 23 deletions(-)

Modified: alacritty/trunk/PKGBUILD
===================================================================
--- alacritty/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ alacritty/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -1,11 +1,12 @@
 # Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
 # Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
 # Contributor: kpcyrd <git at rxv.cc>
 # Contributor: quininer <quininer at live.com>
 pkgname='alacritty'
 pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
 pkgver=0.9.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://github.com/alacritty/alacritty"
 license=('Apache')
@@ -17,6 +18,11 @@
 validpgpkeys=('4DAA67A9EA8B91FCC15B699C85CDAE3C164BA7B4') # Christian Dürr
 sha256sums=('SKIP')
 
+prepare() {
+  cd "$pkgname"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
 build(){
   cd "$pkgname"
   env CARGO_INCREMENTAL=0 cargo build --release --locked
@@ -24,7 +30,7 @@
 
 check(){
   cd "$pkgname"
-  env CARGO_INCREMENTAL=0 cargo test --release --locked
+  env CARGO_INCREMENTAL=0 cargo test --locked
 }
 
 package() {

Modified: b3sum/trunk/PKGBUILD
===================================================================
--- b3sum/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ b3sum/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -2,7 +2,7 @@
 
 pkgname=b3sum
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Command line implementation of the BLAKE3 hash function'
 arch=('x86_64')
 url=https://github.com/BLAKE3-team/BLAKE3
@@ -14,7 +14,7 @@
 
 prepare() {
   cd $pkgname-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {
@@ -24,7 +24,7 @@
 
 check() {
   cd $pkgname-$pkgver
-  cargo test --release --locked --offline
+  cargo test --locked --offline
 }
 
 package() {

Modified: diskus/trunk/PKGBUILD
===================================================================
--- diskus/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ diskus/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -2,7 +2,7 @@
 
 pkgname=diskus
 pkgver=0.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Minimal, fast alternative to 'du -sh'"
 arch=('x86_64')
 url=https://github.com/sharkdp/diskus
@@ -14,7 +14,7 @@
 
 prepare() {
   cd diskus-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {
@@ -24,7 +24,7 @@
 
 check() {
   cd diskus-$pkgver
-  cargo test --release --locked --offline
+  cargo test --locked --offline
 }
 
 package() {

Modified: gitprompt-rs/trunk/PKGBUILD
===================================================================
--- gitprompt-rs/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ gitprompt-rs/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -15,7 +15,7 @@
 
 prepare() {
   cd $pkgname-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {

Modified: hacksaw/trunk/PKGBUILD
===================================================================
--- hacksaw/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ hacksaw/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -14,7 +14,7 @@
 
 prepare() {
   cd hacksaw-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {

Modified: lychee-link-checker/trunk/PKGBUILD
===================================================================
--- lychee-link-checker/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ lychee-link-checker/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -17,7 +17,7 @@
 
 prepare() {
   cd $_name-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {

Modified: newsboat/trunk/PKGBUILD
===================================================================
--- newsboat/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ newsboat/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -25,7 +25,7 @@
 prepare() {
   cd $pkgname-$pkgver
 
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {

Modified: rink/trunk/PKGBUILD
===================================================================
--- rink/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ rink/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -2,7 +2,7 @@
 
 pkgname=rink
 pkgver=0.6.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Unit conversion tool and library written in rust'
 arch=('x86_64')
 url=https://rinkcalc.app
@@ -14,7 +14,7 @@
 
 prepare() {
   cd rink-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {
@@ -24,7 +24,7 @@
 
 check() {
   cd rink-$pkgver
-  cargo test --release --locked --offline
+  cargo test --locked --offline
 }
 
 package() {

Modified: rust-analyzer/trunk/PKGBUILD
===================================================================
--- rust-analyzer/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ rust-analyzer/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -16,7 +16,7 @@
 
 prepare() {
   cd $pkgname
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {

Modified: shotgun/trunk/PKGBUILD
===================================================================
--- shotgun/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ shotgun/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -17,7 +17,7 @@
 
 prepare() {
   cd shotgun-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {

Modified: skim/trunk/PKGBUILD
===================================================================
--- skim/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ skim/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -3,7 +3,7 @@
 
 pkgname=skim
 pkgver=0.9.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Fuzzy Finder in rust!'
 arch=('x86_64')
 url=https://github.com/lotabout/skim
@@ -20,7 +20,7 @@
 
 prepare() {
   cd skim-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {
@@ -30,7 +30,7 @@
 
 check() {
   cd skim-$pkgver
-  cargo test --release --locked --offline
+  cargo test --locked --offline
 }
 
 package() {

Modified: toastify/trunk/PKGBUILD
===================================================================
--- toastify/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ toastify/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -14,7 +14,7 @@
 
 prepare() {
   cd $pkgname-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {

Modified: tree-sitter/trunk/PKGBUILD
===================================================================
--- tree-sitter/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ tree-sitter/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -17,7 +17,7 @@
 prepare() {
   cd $pkgname-$pkgver
 
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {

Modified: vivid/trunk/PKGBUILD
===================================================================
--- vivid/trunk/PKGBUILD	2021-12-03 02:37:23 UTC (rev 1064719)
+++ vivid/trunk/PKGBUILD	2021-12-03 05:19:24 UTC (rev 1064720)
@@ -14,7 +14,7 @@
 
 prepare() {
   cd vivid-$pkgver
-  cargo fetch --locked
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
 build() {



More information about the arch-commits mailing list