From 53bf7672b83a9db03a89e0e2f846a9e2ab70d26b Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 28 Sep 2025 12:45:36 +0300 Subject: [PATCH] Update package version to 2.41.2 --- pkg.info | 21 ++++++++++++++++++--- source.sh | 10 ---------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index 18510f8..89aea75 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,24 @@ name: util-linux description: Linux system utilities -version: 2.41.1 +version: 2.41.2 +revision: 1 url: https://github.com/util-linux/util-linux license: GPL2 architecture: any -depends: ["glibc","libcap","ncurses","pam","shadow","udev","zlib"] -make_depends: ["libxcrypt","readline"] type: source +depends: + - glibc + - libcap + - ncurses + - pam + - shadow + - udev + - zlib +make_depends: + - libxcrypt + - readline +downloads: + - url: https://github.com/util-linux/util-linux/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 534aa113a323d6866c5f46baf909618dcc60c391ad24a91814e5d21511cefd30 diff --git a/source.sh b/source.sh index 1643e49..786606c 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/util-linux/util-linux/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 -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() {