From 859cc84fdce9256febb77915a8b9c9e69a9b8e1c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 3 Oct 2025 12:35:51 +0300 Subject: [PATCH] Update package version to 7.1.0 --- pkg.info | 11 +++++++++-- source.sh | 10 ---------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/pkg.info b/pkg.info index 491fb49..8cf3997 100644 --- a/pkg.info +++ b/pkg.info @@ -1,13 +1,20 @@ name: font-awesome description: the Internet's icon library and toolkit -version: 7.0.1 +version: 7.1.0 +revision: 1 url: https://fontawesome.com/ license: OFL-1.1 architecture: any type: source +downloads: + - url: https://github.com/FortAwesome/Font-Awesome/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 5b54f06149974ca7d160e76129e3473c64349c3653c95a1490817c6603f12295 split_packages: - name: otf-font-awesome description: the Internet's icon library and toolkit (OTF fonts) - name: woff2-font-awesome - replaces: ["ttf-font-awesome"] description: the Internet's icon library and toolkit (Woff2 fonts) + replaces: + - ttf-font-awesome diff --git a/source.sh b/source.sh index c8b718c..85e8088 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/FortAwesome/Font-Awesome/archive/refs/tags/${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 package function is executed in the source directory # This function is used to move the compiled files into the output directory package_otf-font-awesome() {