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

Kpcyrd kpcyrd at gemini.archlinux.org
Fri Nov 19 12:33:32 UTC 2021


    Date: Friday, November 19, 2021 @ 12:33:32
  Author: kpcyrd
Revision: 1052769

upgpkg: cargo-crev 0.21.3-2

Modified:
  cargo-crev/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-19 11:13:56 UTC (rev 1052768)
+++ PKGBUILD	2021-11-19 12:33:32 UTC (rev 1052769)
@@ -2,7 +2,7 @@
 
 pkgname=cargo-crev
 pkgver=0.21.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Scalable, social, Code REView and recommendation system that we desperately need"
 url="https://github.com/crev-dev/cargo-crev"
 depends=('openssl' 'curl')
@@ -13,9 +13,14 @@
 sha512sums=('9342586a5c7fa5d3d1889889470f0e62dd36934062d35bd8be628f5e65e9de754bd4cee656d1098574412968dd2ccbc0111f126566e24ba5395ffeedcc780fdf')
 b2sums=('c622878895734d0e07475f93710aa3ef4ee7db95d77cb60df1bf80ef7ac8fd5269642f20319be9d1315f96ef88bcd7fc391852f8c55785b72af7207849db1531')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
 build() {
   cd "${pkgname}-${pkgver}/cargo-crev"
-  cargo build --release --locked
+  cargo build --frozen --release --no-default-features
 }
 
 package() {



More information about the arch-commits mailing list