From f77a6a8bccbf82d76d691fca43b20f54bb9fb288 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 7 Sep 2025 10:58:38 +0300 Subject: [PATCH] Update package version to 7.0.1 --- pkg.info | 7 ++++--- source.sh | 18 +++++++++++------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/pkg.info b/pkg.info index a7968dd..491fb49 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: font-awesome description: the Internet's icon library and toolkit -version: 6.7.2 +version: 7.0.1 url: https://fontawesome.com/ license: OFL-1.1 architecture: any @@ -8,5 +8,6 @@ type: source split_packages: - name: otf-font-awesome description: the Internet's icon library and toolkit (OTF fonts) - - name: ttf-font-awesome - description: the Internet's icon library and toolkit (TTF fonts) + - name: woff2-font-awesome + replaces: ["ttf-font-awesome"] + description: the Internet's icon library and toolkit (Woff2 fonts) diff --git a/source.sh b/source.sh index fc8a90c..c8b718c 100644 --- a/source.sh +++ b/source.sh @@ -14,14 +14,18 @@ prepare() { # The package function is executed in the source directory # This function is used to move the compiled files into the output directory -package_ttf-font-awesome() { - install -Dm644 LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/ttf-font-awesome/LICENSE.txt - install -d "$BPM_OUTPUT"/usr/share/fonts/TTF - install -m644 ./webfonts/*.ttf "$BPM_OUTPUT"/usr/share/fonts/TTF -} - package_otf-font-awesome() { - install -Dm644 LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/otf-font-awesome/LICENSE.txt install -d "$BPM_OUTPUT"/usr/share/fonts/OTF install -m644 ./otfs/*.otf "$BPM_OUTPUT"/usr/share/fonts/OTF + + # Install package license + install -Dm644 LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/otf-font-awesome/LICENSE.txt +} + +package_woff2-font-awesome() { + install -d "$BPM_OUTPUT"/usr/share/fonts/WOFF2 + install -m644 ./webfonts/*.woff2 "$BPM_OUTPUT"/usr/share/fonts/WOFF2 + + # Install package license + install -Dm644 LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/woff2-font-awesome/LICENSE.txt }