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

Orhun Parmaksiz orhun at gemini.archlinux.org
Sun Jan 16 18:58:51 UTC 2022


    Date: Sunday, January 16, 2022 @ 18:58:50
  Author: orhun
Revision: 1106398

upgpkg: rhit 1.7.0-1: upstream release

Modified:
  rhit/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-16 17:56:58 UTC (rev 1106397)
+++ PKGBUILD	2022-01-16 18:58:50 UTC (rev 1106398)
@@ -1,7 +1,7 @@
 # Maintainer: Orhun Parmaksız <orhun at archlinux.org>
 
 pkgname=rhit
-pkgver=1.6.0
+pkgver=1.7.0
 pkgrel=1
 pkgdesc="A nginx log explorer"
 arch=('x86_64')
@@ -8,18 +8,23 @@
 url="https://github.com/Canop/rhit"
 license=('MIT')
 depends=('gcc-libs')
-makedepends=('rust')
+makedepends=('cargo')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('76ff4fd163a92d24dcdfbd928dd85d92de422a92b231399779e3c2bc8895aa79c788c6acd95c8130c6c756e9f82298323c85697c75b581f1dacad6e5f4aa81fc')
+sha512sums=('91a8e9d2218b731db5bb15a0d322adbea4cd23f5af54da959bcd0cd2d3d973e7e771af2336bf0b6ffc01f9654b28eb4432b70b222ed56ffd7df9516e89c9fb6a')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
 build() {
   cd "$pkgname-$pkgver"
-  cargo build --release --locked
+  cargo build --release --frozen
 }
 
 check() {
   cd "$pkgname-$pkgver"
-  cargo test --release --locked
+  cargo test --frozen
 }
 
 package() {



More information about the arch-commits mailing list