diff --git a/pkg.info b/pkg.info index 7c1d260..230cadc 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,32 @@ name: btrfs-progs description: BTRFS filesystem manipulation utilities -version: 6.16.1 +version: "6.17" +revision: 1 url: https://btrfs.readthedocs.io/ license: GPL2-only architecture: any -depends: ["glibc","libgcrypt","udev","lzo","util-linux","zlib","zstd"] -optional_depends: ["e2fsprogs","python3"] -make_depends: ["e2fsprogs","python3","python-setuptools","udev","xmlto","libaio","ripgrep"] type: source +depends: + - glibc + - libgcrypt + - udev + - lzo + - util-linux + - zlib + - zstd +optional_depends: + - e2fsprogs + - python3 +make_depends: + - e2fsprogs + - python3 + - python-setuptools + - udev + - xmlto + - libaio + - ripgrep +downloads: + - url: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${BPM_PKG_VERSION}.tar.xz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 277d696c9d79713ff5afb53c7efebdcead2e6a6007789b1742ec411f4e4ca229 diff --git a/source.sh b/source.sh index 76f6c18..c53a602 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://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${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() {