From 41eb2db74d01c7d2edd8dbcf2afdc8d52ad3a7ca Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 1 Nov 2025 19:35:23 +0200 Subject: [PATCH] Update package version to 78.1 --- pkg.info | 16 +++++++++++++--- source.sh | 12 ++---------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index 565f660..3930c32 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,19 @@ name: icu description: Libraries providing Unicode and Globalization support for software applications -version: 77.1 +version: "78.1" +revision: 1 url: https://icu.unicode.org/ license: BSD-2-Clause,BSD-3-Clause,LicenseRef-Unicode-3.0 architecture: any -depends: ["gcc-libs", "glibc", "bash"] -make_depends: ["python3"] type: source +depends: + - gcc-libs + - glibc + - bash +make_depends: + - python3 +downloads: + - url: https://github.com/unicode-org/icu/releases/download/release-${BPM_PKG_VERSION}/icu4c-${BPM_PKG_VERSION}-sources.tgz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 6217f58ca39b23127605cfc6c7e0d3475fe4b0d63157011383d716cb41617886 diff --git a/source.sh b/source.sh index 8a938a3..9ea0c15 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/unicode-org/icu/releases/download/release-${BPM_PKG_VERSION/./-}/icu4c-${BPM_PKG_VERSION/./_}-src.tgz" -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() { @@ -32,5 +22,7 @@ check() { package() { cd source make DESTDIR="$BPM_OUTPUT" install + + # Install package license install -Dm644 ../LICENSE "$BPM_OUTPUT"/usr/share/licenses/icu/LICENSE }