From 90bdbe610067a4bff648267dbf62c12ba13ccac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Sun, 2 Apr 2023 16:25:24 +0200 Subject: [PATCH 1/2] common/build-style/cargo.sh: use --locked for build and check as well --- common/build-style/cargo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/build-style/cargo.sh b/common/build-style/cargo.sh index 9f30a1e5c2d5..6bf060c43090 100644 --- a/common/build-style/cargo.sh +++ b/common/build-style/cargo.sh @@ -5,13 +5,13 @@ do_build() { : ${make_cmd:=cargo auditable} - ${make_cmd} --config 'registries.crates-io.protocol="sparse"' build --release --target ${RUST_TARGET} ${configure_args} + ${make_cmd} --config 'registries.crates-io.protocol="sparse"' build --release --locked --target ${RUST_TARGET} ${configure_args} } do_check() { : ${make_cmd:=cargo auditable} - ${make_check_pre} ${make_cmd} --config 'registries.crates-io.protocol="sparse"' test --release --target ${RUST_TARGET} ${configure_args} \ + ${make_check_pre} ${make_cmd} --config 'registries.crates-io.protocol="sparse"' test --release --locked --target ${RUST_TARGET} ${configure_args} \ ${make_check_args} } From 065f92b729995fce554a6ee46714adf5b75f7337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Sun, 2 Apr 2023 16:22:43 +0200 Subject: [PATCH 2/2] bottom: update to 0.8.0. --- srcpkgs/bottom/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bottom/template b/srcpkgs/bottom/template index 4721e6d6073b..5f613bf1ae8e 100644 --- a/srcpkgs/bottom/template +++ b/srcpkgs/bottom/template @@ -1,6 +1,6 @@ # Template file for 'bottom' pkgname=bottom -version=0.6.8 +version=0.8.0 revision=1 build_style=cargo short_desc="Yet another cross-platform graphical process/system monitor" @@ -9,7 +9,11 @@ license="MIT" homepage="https://github.com/ClementTsang/bottom" changelog="https://raw.githubusercontent.com/ClementTsang/bottom/master/CHANGELOG.md" distfiles="https://github.com/ClementTsang/bottom/archive/${version}.tar.gz" -checksum=4e4eb251972a7af8c46dd36bcf1335fea334fb670569434fbfd594208905b2d9 +checksum=0fe6a826d18570ab33b2af3b26ce28c61e3aa830abb2b622f2c3b81da802437a + +pre_build() { + export BTM_GENERATE=true +} post_install() { vdoc README.md