[arch-commits] Commit in bottom/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Thu Aug 12 19:58:34 UTC 2021
Date: Thursday, August 12, 2021 @ 19:58:33
Author: grawlinson
Revision: 997796
upgpkg: bottom
* Replace cargo with rust to ensure reproducible build.
* Remove unnecessary target flag & export.
Modified:
bottom/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-12 19:57:10 UTC (rev 997795)
+++ PKGBUILD 2021-08-12 19:58:33 UTC (rev 997796)
@@ -9,7 +9,7 @@
arch=('x86_64')
url="https://github.com/ClementTsang/bottom"
license=('MIT')
-makedepends=('cargo')
+makedepends=('rust')
optdepends=(
"bash-completion: for shell auto-completion"
"fish: for shell auto-completion"
@@ -20,7 +20,7 @@
prepare() {
cd "$pkgname-$pkgver"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ cargo fetch --locked
}
build() {
@@ -30,8 +30,7 @@
check() {
cd "$pkgname-$pkgver"
- export CARGO_HUSKY_DONT_INSTALL_HOOKS=true
- cargo test --frozen --no-default-features
+ CARGO_HUSKY_DONT_INSTALL_HOOKS=true cargo test --frozen --no-default-features
}
package() {
More information about the arch-commits
mailing list