Update package version to 7.0.1
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: font-awesome
|
name: font-awesome
|
||||||
description: the Internet's icon library and toolkit
|
description: the Internet's icon library and toolkit
|
||||||
version: 6.7.2
|
version: 7.0.1
|
||||||
url: https://fontawesome.com/
|
url: https://fontawesome.com/
|
||||||
license: OFL-1.1
|
license: OFL-1.1
|
||||||
architecture: any
|
architecture: any
|
||||||
@@ -8,5 +8,6 @@ type: source
|
|||||||
split_packages:
|
split_packages:
|
||||||
- name: otf-font-awesome
|
- name: otf-font-awesome
|
||||||
description: the Internet's icon library and toolkit (OTF fonts)
|
description: the Internet's icon library and toolkit (OTF fonts)
|
||||||
- name: ttf-font-awesome
|
- name: woff2-font-awesome
|
||||||
description: the Internet's icon library and toolkit (TTF fonts)
|
replaces: ["ttf-font-awesome"]
|
||||||
|
description: the Internet's icon library and toolkit (Woff2 fonts)
|
||||||
|
|||||||
@@ -14,14 +14,18 @@ prepare() {
|
|||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output 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() {
|
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 -d "$BPM_OUTPUT"/usr/share/fonts/OTF
|
||||||
install -m644 ./otfs/*.otf "$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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user