Date: Thursday, October 27, 2022 @ 07:44:27
  Author: alerque
Revision: 1338042

upgpkg: just 1.7.0-2; apply Rust packaging guidelines like freezing deps for 
reproducability

Modified:
  just/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-27 07:27:47 UTC (rev 1338041)
+++ PKGBUILD    2022-10-27 07:44:27 UTC (rev 1338042)
@@ -1,9 +1,10 @@
 # Maintainer: Sven-Hendrik Haase <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
 # Contributor: Fredy GarcĂ­a <frealgagu at gmail dot com>
 
 pkgname=just
 pkgver=1.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A handy way to save and run project-specific commands"
 arch=("x86_64")
 url="https://github.com/casey/just";
@@ -13,14 +14,19 @@
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/casey/${pkgname}/archive/${pkgver}.tar.gz";)
 sha256sums=('64e3efa2ef30d41ec896d4accaa1ebf6c331a787447bf8e37c53bb0ada02359f')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
 build() {
   cd "${pkgname}-${pkgver}"
-  cargo build --release
+  cargo build --frozen --release
 }
 
 check() {
   cd "${pkgname}-${pkgver}"
-  cargo check --release
+  cargo check --frozen --release
 }
 
 package() {

Reply via email to