From c765b0cf3415912f1f99e459179913ece9d3fb47 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 16 Oct 2025 15:53:58 +0300 Subject: [PATCH] Update package version to 15.0.0 --- pkg.info | 16 ++++++++++++---- source.sh | 10 ---------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/pkg.info b/pkg.info index 7fcf188..6a960c0 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,18 @@ name: ripgrep description: Tool that recursively searches directories for a regex pattern while respecting your gitignore -version: 14.1.1 -revision: 2 +version: 15.0.0 +revision: 1 url: https://github.com/BurntSushi/ripgrep license: MIT,Unlicense architecture: any -depends: ["gcc-libs", "pcre2"] -make_depends: ["rustc"] type: source +depends: + - gcc-libs + - pcre2 +make_depends: + - rustc +downloads: + - url: https://github.com/BurntSushi/ripgrep/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: e6b2d35ff79c3327edc0c92a29dc4bb74e82d8ee4b8156fb98e767678716be7a diff --git a/source.sh b/source.sh index 8c3c506..5963f12 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # 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/BurntSushi/ripgrep/archive/refs/tags/${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 -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {