Update package version to 1.8.0
This commit is contained in:
@@ -1,9 +1,17 @@
|
|||||||
name: tealdeer
|
name: tealdeer
|
||||||
description: A very fast implementation of tldr in Rust
|
description: A very fast implementation of tldr in Rust
|
||||||
version: 1.7.2
|
version: 1.8.0
|
||||||
|
revision: 1
|
||||||
url: https://github.com/tealdeer-rs/tealdeer
|
url: https://github.com/tealdeer-rs/tealdeer
|
||||||
license: Apache-2.0,MIT
|
license: Apache-2.0,MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["gcc-libs"]
|
|
||||||
make_depends: ["rustc"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- gcc-libs
|
||||||
|
make_depends:
|
||||||
|
- rustc
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/tealdeer-rs/tealdeer/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: b1f1262de60ef3105ff93de71568a68a56ad5874a28f105ab7cb5857d305cdb9
|
||||||
|
|||||||
@@ -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 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
|
# 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/tealdeer-rs/tealdeer/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
# 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() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user