Update package version to 78.1
This commit is contained in:
@@ -1,9 +1,19 @@
|
|||||||
name: icu
|
name: icu
|
||||||
description: Libraries providing Unicode and Globalization support for software applications
|
description: Libraries providing Unicode and Globalization support for software applications
|
||||||
version: 77.1
|
version: "78.1"
|
||||||
|
revision: 1
|
||||||
url: https://icu.unicode.org/
|
url: https://icu.unicode.org/
|
||||||
license: BSD-2-Clause,BSD-3-Clause,LicenseRef-Unicode-3.0
|
license: BSD-2-Clause,BSD-3-Clause,LicenseRef-Unicode-3.0
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["gcc-libs", "glibc", "bash"]
|
|
||||||
make_depends: ["python3"]
|
|
||||||
type: source
|
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
|
||||||
|
|||||||
@@ -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 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
|
# 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
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
@@ -32,5 +22,7 @@ check() {
|
|||||||
package() {
|
package() {
|
||||||
cd source
|
cd source
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 ../LICENSE "$BPM_OUTPUT"/usr/share/licenses/icu/LICENSE
|
install -Dm644 ../LICENSE "$BPM_OUTPUT"/usr/share/licenses/icu/LICENSE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user