From 354ce41bd68cd47d00dfb45106b09f935f0b68a3 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 2 Oct 2025 15:36:56 +0300 Subject: [PATCH] Update package version to 1.4 --- pkg.info | 11 +++++++++-- source.sh | 10 ---------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/pkg.info b/pkg.info index 772b122..319868f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,15 @@ name: libunistring description: String manipulation library -version: 1.3 +version: "1.4" +revision: 1 url: https://www.gnu.org/software/libunistring/ license: GPL3-or-later,LGPL3-or-later architecture: any -depends: ["glibc"] type: source +depends: + - glibc +downloads: + - url: https://ftpmirror.gnu.org/gnu/libunistring/libunistring-${BPM_PKG_VERSION}.tar.xz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 708571fce9965e805fee08b410aa8e886d391a492c387f75abb7be0e195337f5 diff --git a/source.sh b/source.sh index 3f4c9e4..5ad5095 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://ftpmirror.gnu.org/gnu/libunistring/libunistring-${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() {