Date: Monday, September 27, 2021 @ 22:02:11
  Author: kpcyrd
Revision: 1025808

upgpkg: cargo-watch 8.1.1-1

Modified:
  cargo-watch/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-09-27 21:58:50 UTC (rev 1025807)
+++ PKGBUILD    2021-09-27 22:02:11 UTC (rev 1025808)
@@ -2,7 +2,7 @@
 # Contributor: Vlad M. <v...@archlinux.net>
 
 pkgname=cargo-watch
-pkgver=8.0.0
+pkgver=8.1.1
 pkgrel=1
 pkgdesc="Utility for Cargo to compile projects when sources change"
 url='https://github.com/passcod/cargo-watch'
@@ -11,12 +11,17 @@
 depends=('cargo')
 makedepends=('ruby-ronn')
 
source=("https://github.com/passcod/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz";)
-sha512sums=('e9e505a744e40da54215037669533bb4cd43f9e51b2f7df6439c693ce628d176ed35ceab9bcb7a9bdc293bc029e435646a2f1f281c46a694275dffe1e03a4bdd')
-b2sums=('a55bba610b8463f2dca53b19a5ecd3d4a13cf257308b0a7f74ff925dbf45f1346a9438264ee73b27f1f4fca4192c7047003c2fac9b939b04bdaa945a3d76fd77')
+sha512sums=('570855e468009ba75d54fadfb70a11eeb02294747ceb651bfa32eb067eadeaaeb6107b91d1d1338d474c16105b4626872cac5ef25241dbe6959a3e9a9ea03b40')
+b2sums=('732ce26eaa4ad7085cf836be56f6d75b9c60d13ae427343cafe01c899179016c5f9a8433f0e3ee365550b85007bfb90d9f17e7d27643e85b2fdc2927f525e2a3')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
 build() {
   cd ${pkgname}-${pkgver}
-  cargo build --release --locked
+  cargo build --frozen --release
   ronn --roff cargo-watch.1.ronn
 }
 

Reply via email to