diff --git a/pkg.info b/pkg.info index ab692de..cb66366 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,26 @@ name: fish description: A smart and user-friendly command line shell -version: 4.0.8 +version: 4.1.0 +revision: 1 url: https://fishshell.com/ license: GPL2,PSF2,MIT,LGPL2 architecture: any -depends: ["glibc", "gcc-libs", "ncurses", "pcre2"] -optional_depends: ["python3"] -make_depends: ["cmake", "jq", "rustc", "expect", "procps-ng"] type: source +depends: + - glibc + - gcc-libs + - ncurses + - pcre2 +optional_depends: + - python3 +make_depends: + - cmake + - jq + - rustc + - expect + - procps-ng +downloads: + - url: https://github.com/fish-shell/fish-shell/releases/download/${BPM_PKG_VERSION}/fish-${BPM_PKG_VERSION}.tar.xz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 07a76c67e161b9edc772e6f1d66ebead85d7056e86631d61577f9f9a529c4d9c diff --git a/source.sh b/source.sh index b8a967a..b589068 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/fish-shell/fish-shell/releases/download/${BPM_PKG_VERSION}/fish-${BPM_PKG_VERSION}.tar.xz" -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() {