Update package version to 10.4.0

This commit is contained in:
2026-03-07 20:03:01 +02:00
parent 587ca8276b
commit 215315a498
2 changed files with 14 additions and 10 deletions
+13 -3
View File
@@ -1,9 +1,19 @@
name: fd
description: Simple, fast and user-friendly alternative to find
version: 10.3.0
version: 10.4.0
revision: 1
url: https://github.com/sharkdp/fd
license: Apache-2.0,MIT
maintainers:
- [email protected]
architecture: any
depends: ["gcc-libs"]
make_depends: ["rustc"]
type: source
depends:
- gcc-libs
make_depends:
- rustc
downloads:
- url: https://github.com/sharkdp/fd/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 9caf8509134fe304ce5ee4667804216d93fe61df11ff941f48a240d40495db16
+1 -7
View File
@@ -2,15 +2,9 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://github.com/sharkdp/fd/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}